aboutsummaryrefslogtreecommitdiff
path: root/clang/docs
diff options
context:
space:
mode:
authorHaojian Wu <hokein.wu@gmail.com>2024-03-28 13:10:02 +0100
committerGitHub <noreply@github.com>2024-03-28 13:10:02 +0100
commita042fcbe45d1ae64acc5d818db90e26e16e1aab3 (patch)
treede7371128fe34f9b1861eec7a132e3c35d607dbd /clang/docs
parentfb8cccf88c5d04f36148ff336b6dc7c25746b1de (diff)
downloadllvm-a042fcbe45d1ae64acc5d818db90e26e16e1aab3.zip
llvm-a042fcbe45d1ae64acc5d818db90e26e16e1aab3.tar.gz
llvm-a042fcbe45d1ae64acc5d818db90e26e16e1aab3.tar.bz2
[clang] Bailout when the substitution of template parameter mapping is invalid. (#86869)
Fixes #86757 We missed to handle the invalid case when substituting into the parameter mapping of an constraint during normalization. The constructor of `InstantiatingTemplate` will bail out (no `CodeSynthesisContext` will be added to the instantiation stack) if there was a fatal error, consequently we should stop doing any further template instantiations.
Diffstat (limited to 'clang/docs')
-rw-r--r--clang/docs/ReleaseNotes.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index ccc399d..232de0d 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -458,6 +458,7 @@ Bug Fixes to C++ Support
- Fix an issue where a namespace alias could be defined using a qualified name (all name components
following the first `::` were ignored).
- Fix an out-of-bounds crash when checking the validity of template partial specializations. (part of #GH86757).
+- Fix an issue caused by not handling invalid cases when substituting into the parameter mapping of a constraint. Fixes (#GH86757).
Bug Fixes to AST Handling
^^^^^^^^^^^^^^^^^^^^^^^^^