]> granicus.if.org Git - clang/commit
More constant evaluation cleanup, and fix an issue where we'd override an
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 6 Nov 2013 02:19:10 +0000 (02:19 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 6 Nov 2013 02:19:10 +0000 (02:19 +0000)
commit9a9ca98d6463530384aa12685034899c4cc8733d
treeb8e639a4c1106a72120bc986676a54462c300569
parent92563d0c04d9f06e528439bb93073e41ecbdc07b
More constant evaluation cleanup, and fix an issue where we'd override an
earlier 'non-constant' diagnostic with a later one if the earlier one was from
a side-effect we thought we could evaluate past.

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