diff options
author | Balázs Kéri <balazs.keri@ericsson.com> | 2025-01-28 09:10:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-28 09:10:02 +0100 |
commit | 8e97f50eed71ff59b5a6fcb31e3e1af3fb30cdb4 (patch) | |
tree | fa2af32b121cb8276addd4d01ac360d61c19c0ce /clang/lib/Frontend/TestModuleFileExtension.cpp | |
parent | c8d3ccfa165d0193edf42ce1a0ba3077133c85e8 (diff) | |
download | llvm-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