diff options
author | Jonas Hahnfeld <jonas.hahnfeld@cern.ch> | 2024-01-15 08:40:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-15 08:40:26 +0100 |
commit | 844f8335f211da19ae4b375761013909a3394d9a (patch) | |
tree | a91f5cadb42c2b468d5ad7c3324c9d9e6611afc1 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | ce1f9465b0ee86571955769e47640f2d271ef2a7 (diff) | |
download | llvm-844f8335f211da19ae4b375761013909a3394d9a.zip llvm-844f8335f211da19ae4b375761013909a3394d9a.tar.gz llvm-844f8335f211da19ae4b375761013909a3394d9a.tar.bz2 |
Fix crash with modules and constexpr destructor (#69076)
With modules, serialization might omit the outer ExprWithCleanups
as it calls ParmVarDecl::getDefaultArg(). Complementary to fixing
this in a separate change, make the code more robust by adding a
FullExpressionRAII and avoid the llvm_unreachable in the added test
clang/test/Modules/pr68702.cpp.
Closes https://github.com/llvm/llvm-project/issues/68702
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions