Files
clang-p2996/clang/lib/Analysis/ThreadSafety.cpp
Marco Elver 2d7f53bc27 Thread Safety Analysis: Use replaceLock instead of removeLock+addLock (#141500)
In ScopedLockableFactEntry::unlock(), we can avoid a second search,
pop_back(), and push_back() if we use the already obtained iterator into
the FactSet to replace the old FactEntry and take its position in the
vector.
2025-06-05 16:05:59 +02:00

100 KiB