]> granicus.if.org Git - clang/commit
constexpr: remove integral conversion overflow checking introduced in r149286.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 31 Jan 2012 01:47:46 +0000 (01:47 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 31 Jan 2012 01:47:46 +0000 (01:47 +0000)
commit395f1c08ff720be7df6535a86df14b6d36a2d57a
tree1494d753d6bcbcb74253dd5be3ddd1bda31c3388
parent339b9072e26a2a0fe796dc69c4d28d964d0ec86d
constexpr: remove integral conversion overflow checking introduced in r149286.
As Eli points out, this is implementation-defined, and the way we define it
makes this fine.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149327 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ExprConstant.cpp
test/CXX/expr/expr.const/p2-0x.cpp