Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPthreadLockChecker.cpp33 struct LockState { struct
43 LockState(Kind K) : K(K) {} in LockState() function
46 static LockState getLocked() { return LockState(Locked); } in getLocked() argument
47 static LockState getUnlocked() { return LockState(Unlocked); } in getUnlocked() argument
48 static LockState getDestroyed() { return LockState(Destroyed); } in getDestroyed() argument
49 static LockState getUntouchedAndPossiblyDestroyed() { in getUntouchedAndPossiblyDestroyed() argument
50 return LockState(UntouchedAndPossiblyDestroyed); in getUntouchedAndPossiblyDestroyed()
52 static LockState getUnlockedAndPossiblyDestroyed() { in getUnlockedAndPossiblyDestroyed() argument
53 return LockState(UnlockedAndPossiblyDestroyed); in getUnlockedAndPossiblyDestroyed()
56 bool operator==(const LockState &X) const { return K == X.K; } in operator ==() argument
[all …]