]> granicus.if.org Git - clang/commit
PR16377: Allow evaluation of statement expressions in constant evaluation,
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 20 Jun 2013 03:00:05 +0000 (03:00 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 20 Jun 2013 03:00:05 +0000 (03:00 +0000)
commit37a84f653c196aa0b73fad96707175a62dcb6a12
tree2ef6473716e61293418bdb13bb2d46a236d8167d
parent87c29321c4b819d8a10f362f42fb7f7226820041
PR16377: Allow evaluation of statement expressions in constant evaluation,
why not. Apparently GCC supports this.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184396 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticASTKinds.td
lib/AST/ExprConstant.cpp
test/SemaCXX/constant-expression-cxx11.cpp
test/SemaCXX/constant-expression-cxx1y.cpp