Skip to content
Commit c7192774 authored by Ted Kremenek's avatar Ted Kremenek
Browse files

Fix use-of-invalid-memory found by Valgrind and Windows buildbots.

We were inserting a value into a std::vector<> while iterating over
it, which could cause the underlying memory to get deallocated
and reallocated.  While not the best solution, use an llvm::ImmutableList
for now as it is safely supports insertions during iteration.

llvm-svn: 99058
parent e543a5e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment