[all-commits] [llvm/llvm-project] 8e97f5: [clang][ASTImporter] Fix possible crash at import ...
Balázs Kéri via All-commits
all-commits at lists.llvm.org
Tue Jan 28 00:10:23 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8e97f50eed71ff59b5a6fcb31e3e1af3fb30cdb4
https://github.com/llvm/llvm-project/commit/8e97f50eed71ff59b5a6fcb31e3e1af3fb30cdb4
Author: Balázs Kéri <balazs.keri at ericsson.com>
Date: 2025-01-28 (Tue, 28 Jan 2025)
Changed paths:
M clang/lib/AST/ASTImporter.cpp
A clang/test/Analysis/Inputs/ctu-test-import-failure-import.cpp
A clang/test/Analysis/Inputs/ctu-test-import-failure-import.cpp.externalDefMap.ast-dump.txt
A clang/test/Analysis/ctu-test-import-failure.cpp
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list