[all-commits] [llvm/llvm-project] e5df65: [Sema] Fix assertion error in Sema::FindInstantiat...
Alejandro Álvarez Ayllón via All-commits
all-commits at lists.llvm.org
Fri Jul 19 02:00:51 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e5df657bbf38f8fcd9dd8c9e79262ca184f2598b
https://github.com/llvm/llvm-project/commit/e5df657bbf38f8fcd9dd8c9e79262ca184f2598b
Author: Alejandro Álvarez Ayllón <alejandro.alvarez at sonarsource.com>
Date: 2024-07-19 (Fri, 19 Jul 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
A clang/test/SemaCXX/instantiate-template-broken-nontype-default.cpp
Log Message:
-----------
[Sema] Fix assertion error in Sema::FindInstantiatedDecl (#96509)
...when looking for a template instantiation with a non-type parameter of
unknown type and with a default value.
This can happen when a template non-type parameter has a broken
expression that gets replaced by a `RecoveryExpr`.
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