aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/TestModuleFileExtension.cpp
diff options
context:
space:
mode:
authorBalázs Kéri <balazs.keri@ericsson.com>2025-01-28 09:10:02 +0100
committerGitHub <noreply@github.com>2025-01-28 09:10:02 +0100
commit8e97f50eed71ff59b5a6fcb31e3e1af3fb30cdb4 (patch)
treefa2af32b121cb8276addd4d01ac360d61c19c0ce /clang/lib/Frontend/TestModuleFileExtension.cpp
parentc8d3ccfa165d0193edf42ce1a0ba3077133c85e8 (diff)
downloadllvm-8e97f50eed71ff59b5a6fcb31e3e1af3fb30cdb4.zip
llvm-8e97f50eed71ff59b5a6fcb31e3e1af3fb30cdb4.tar.gz
llvm-8e97f50eed71ff59b5a6fcb31e3e1af3fb30cdb4.tar.bz2
[clang][ASTImporter] Fix possible crash at import of function template (#124273)
During import of a function template at specific conditions an assertion "TemplateOrSpecialization.isNull()" can be triggered. This can happen when the new AST is already incompatible after import failures. Problem is fixed by returning import failure at the assert condition.
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions