Jonas Hahnfeld 844f8335f2
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
2024-01-15 08:40:26 +01:00
..
2024-01-11 12:34:51 -06:00
2023-07-25 11:23:36 -04:00
2023-07-10 11:15:48 -04:00
2023-06-14 13:08:07 +01:00
2023-08-18 23:36:04 -07:00

See llvm/docs/README.txt