Unverified Commit 4af62db0 authored by Takuya Shimizu's avatar Takuya Shimizu Committed by GitHub
Browse files

[clang][Sema] Fix crash introduced in b2cd9db5 (#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
parent 43812c8c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment