]> granicus.if.org Git - clang/commit
During constant evaluation, handle CXXBindTemporaryExprs for
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 1 Oct 2019 00:41:16 +0000 (00:41 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 1 Oct 2019 00:41:16 +0000 (00:41 +0000)
commit0d4dcf2bb3bd06f16a215a55893e34141093ffe9
tree7b00656c13114beacc8aee633eacf93035c6106f
parent66e4895a66a2c5dd5aae372cceec260a73a9233f
During constant evaluation, handle CXXBindTemporaryExprs for
array-of-class types, not just for class types.

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