PR19346: Adding 0 to a null pointer has defined behavior in C++. Allow it in constant...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 8 Apr 2014 12:19:28 +0000 (12:19 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 8 Apr 2014 12:19:28 +0000 (12:19 +0000)
commit6c6bbfab1967a9c10b6d2d4c63d4519d3d1a374f
treeba1a5588822da087762d34fc09ade7c1cfb0bbb5
parent7955feb82f2b91358dab5de7afd2e3fe55da46b0
PR19346: Adding 0 to a null pointer has defined behavior in C++. Allow it in constant expressions.

llvm-svn: 205757
clang/lib/AST/ExprConstant.cpp
clang/test/CXX/expr/expr.const/p2-0x.cpp