]> granicus.if.org Git - clang/commit
constexpr:
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 2 Feb 2012 01:16:57 +0000 (01:16 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 2 Feb 2012 01:16:57 +0000 (01:16 +0000)
commitf15fda02e9c8c82b4a716618f4010b9af8bff796
tree49038528353d35eea6872ff83e1a76a5c9bd7ed1
parentc69a181049ab52da29f8f69316a34c90c3ea3b8e
constexpr:
  * support the gcc __builtin_constant_p() ? ... : ... folding hack in C++11
  * check for unspecified values in pointer comparisons and pointer subtractions

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149578 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclCXX.h
include/clang/Basic/DiagnosticASTKinds.td
lib/AST/DeclCXX.cpp
lib/AST/ExprConstant.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p5.cpp
test/CXX/expr/expr.const/p2-0x.cpp
test/SemaCXX/constant-expression-cxx11.cpp