[all-commits] [llvm/llvm-project] 4af62d: [clang][Sema] Fix crash introduced in b2cd9db58933...
Takuya Shimizu via All-commits
all-commits at lists.llvm.org
Thu Sep 21 05:27:51 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4af62db053413ea0b01e59adbd51677c5665328b
https://github.com/llvm/llvm-project/commit/4af62db053413ea0b01e59adbd51677c5665328b
Author: Takuya Shimizu <shimizu2486 at gmail.com>
Date: 2023-09-21 (Thu, 21 Sep 2023)
Changed paths:
M clang/lib/Sema/SemaConcept.cpp
M clang/test/SemaTemplate/concepts.cpp
Log Message:
-----------
[clang][Sema] Fix crash introduced in b2cd9db589335d5885c04df83003a623cf2f05ff (#66954)
Old iterator is invalidated upon SmallVector elements additions. Stores
index instead of iterator to avoid this.
Fixes https://github.com/llvm/llvm-project/issues/66938
PR: https://github.com/llvm/llvm-project/pull/66954
More information about the All-commits
mailing list