aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJonas Hahnfeld <jonas.hahnfeld@cern.ch>2024-01-15 08:40:26 +0100
committerGitHub <noreply@github.com>2024-01-15 08:40:26 +0100
commit844f8335f211da19ae4b375761013909a3394d9a (patch)
treea91f5cadb42c2b468d5ad7c3324c9d9e6611afc1 /flang/lib/Frontend/CompilerInvocation.cpp
parentce1f9465b0ee86571955769e47640f2d271ef2a7 (diff)
downloadllvm-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