Files
clang-p2996/clang/lib/AST/ASTImporter.cpp
Balázs Kéri 55cbbce095 [clang][ASTImporter] Fix of unchecked Error object (#112688)
After commits 9c72a30 and 30a9cac error handling in function
'importTemplateParameterDefaultArgument' was not correct,
probably related to (not) using std::move. A crash with unchecked
Error result could happen when the import error path was taken.

Here a test is added that reproduces this case and the problem is
fixed.
2024-10-18 12:53:47 +02:00

386 KiB