Home
last modified time | relevance | path

Searched refs:UnderlyingMutex (Results 1 – 1 of 1) sorted by relevance

/src/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafety.cpp925 for (const auto &UnderlyingMutex : UnderlyingMutexes) { in handleRemovalFromIntersection() local
926 const auto *Entry = FSet.findLock(FactMan, UnderlyingMutex.Cap); in handleRemovalFromIntersection()
927 if ((UnderlyingMutex.Kind == UCK_Acquired && Entry) || in handleRemovalFromIntersection()
928 (UnderlyingMutex.Kind != UCK_Acquired && !Entry)) { in handleRemovalFromIntersection()
931 Handler.handleMutexHeldEndOfScope(UnderlyingMutex.Cap.getKind(), in handleRemovalFromIntersection()
932 UnderlyingMutex.Cap.toString(), loc(), in handleRemovalFromIntersection()
940 for (const auto &UnderlyingMutex : UnderlyingMutexes) { in handleLock() local
941 if (UnderlyingMutex.Kind == UCK_Acquired) in handleLock()
942 lock(FSet, FactMan, UnderlyingMutex.Cap, entry.kind(), entry.loc(), in handleLock()
945 unlock(FSet, FactMan, UnderlyingMutex.Cap, entry.loc(), &Handler); in handleLock()
[all …]