]> granicus.if.org Git - clang/commit
Fix crash on constant-evaluation of pseudo-destruction of a pointer.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 2 Oct 2019 01:13:57 +0000 (01:13 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 2 Oct 2019 01:13:57 +0000 (01:13 +0000)
commitae8a5cdd4ec22023da0f0f1ca5764d18b0eec6d4
tree4c6766e5b80126d17bd39e8140584502a3e219fa
parentc09cbfd881439b7a9e198c95586b9c45d45b4f30
Fix crash on constant-evaluation of pseudo-destruction of a pointer.

We got confused and thought we might be pseudo-destroying the pointee
instead.

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