]> granicus.if.org Git - clang/commit
Implement core issue 903: only integer literals with value 0 and prvalues of
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 13 Jun 2013 02:46:14 +0000 (02:46 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 13 Jun 2013 02:46:14 +0000 (02:46 +0000)
commitf050d2445ed75569ccfe0740caa900403d2ce3b3
tree61ba81591f56a1c2d776e26ac5ca348df2afe6ad
parent1b2209fd149436c98e73d4b8667b40b5f4b974cd
Implement core issue 903: only integer literals with value 0 and prvalues of
type std::nullptr_t are null pointer constants from C++11 onwards.

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