]> granicus.if.org Git - clang/commit
Some cleanup and bug-fixing for address-of checking. This causes a couple of
authorEli Friedman <eli.friedman@gmail.com>
Mon, 20 Apr 2009 08:23:18 +0000 (08:23 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Mon, 20 Apr 2009 08:23:18 +0000 (08:23 +0000)
commit23d58ce9d103115fec4693285d0bcdbaccefea0f
tree548b112badecba5f2cc18373a82b3ed2a3a95d2f
parent3432fa591ca896e5828bbcc83807353b9b6fba2b
Some cleanup and bug-fixing for address-of checking.  This causes a couple of
minor accepts-invalid regressions, but we weren't really rejecting them for
the right reason.  We really need a more general solution to detect all the
cases of the promotion of arrays with a register storage class.

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