]> granicus.if.org Git - clang/commit
Fix r162835 as per Richard's comments.
authorHans Wennborg <hans@hanshq.net>
Wed, 29 Aug 2012 09:17:34 +0000 (09:17 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 29 Aug 2012 09:17:34 +0000 (09:17 +0000)
commit29f431b3e310ae6bd367dccf5a2794ad1cac9592
treef76a0369e22111d8634d7dd221e83c3bd292152a
parent0f87dd74fe1f4fc2bafe16f708500d68ed04d442
Fix r162835 as per Richard's comments.

VisitVarDecl should return Error(E), and we should test that the address
of a TLS var can't be used as a constexpr.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162837 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ExprConstant.cpp
test/SemaCXX/constant-expression-cxx11.cpp