[all-commits] [llvm/llvm-project] 2984a8: [Clang] Fix an iterator invalidation bug in concep...
Younan Zhang via All-commits
all-commits at lists.llvm.org
Tue Oct 28 00:15:56 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2984a8db804e29f31006a24f3ee033bd905894ee
https://github.com/llvm/llvm-project/commit/2984a8db804e29f31006a24f3ee033bd905894ee
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2025-10-28 (Tue, 28 Oct 2025)
Changed paths:
M clang/lib/Sema/SemaConcept.cpp
M clang/test/SemaTemplate/concepts.cpp
Log Message:
-----------
[Clang] Fix an iterator invalidation bug in concept normalization cache (#165352)
The NormalizationCache may be inserted recursively when normalizing
template arguments with non-dependent default arguments. Since the ADT
doesn't preserve iterator validity, this caused undefined behavior.
This is a regression on trunk so there is no release note.
Fixes https://github.com/llvm/llvm-project/issues/165238
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