]> granicus.if.org Git - clang/commit
Don't crash if a variable with a constexpr destructor has a
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 29 Sep 2019 20:30:13 +0000 (20:30 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 29 Sep 2019 20:30:13 +0000 (20:30 +0000)
commitb3dd07106f9ccdcb3a58329c74ffb0d740890478
tree9dc6dd51face062907a0edf08fb92c42bfbc1547
parent868a5a7edd33351fc7810eec11faf5da63ce682d
Don't crash if a variable with a constexpr destructor has a
value-dependent initializer.

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