]> granicus.if.org Git - clang/commit
It is allowed to get the address of an array subscript, even if the array has the...
authorAnders Carlsson <andersca@mac.com>
Fri, 1 Feb 2008 07:15:58 +0000 (07:15 +0000)
committerAnders Carlsson <andersca@mac.com>
Fri, 1 Feb 2008 07:15:58 +0000 (07:15 +0000)
commit369dee454fe7e77720d0d0012a23b75e17bee101
tree9a5ee9dc9aab663173b920477fa8cfb8926f8096
parent6e10a08fe0427ab34c463dd59d9c0997d4f72170
It is allowed to get the address of an array subscript, even if the array has the register qualifier, if the array is really a pointer.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46634 91177308-0d34-0410-b5e6-96231b3b80d8
Sema/SemaExpr.cpp
test/Sema/expr-address-of.c