Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DPthreadLockChecker.cpp32 struct LockState { struct
33 enum Kind {
39 } K;
42 LockState(Kind K) : K(K) {} in LockState() function
45 static LockState getLocked() { return LockState(Locked); } in getLocked()
46 static LockState getUnlocked() { return LockState(Unlocked); } in getUnlocked()
47 static LockState getDestroyed() { return LockState(Destroyed); } in getDestroyed()
48 static LockState getUntouchedAndPossiblyDestroyed() { in getUntouchedAndPossiblyDestroyed()
51 static LockState getUnlockedAndPossiblyDestroyed() { in getUnlockedAndPossiblyDestroyed()
55 bool operator==(const LockState &X) const { return K == X.K; } in operator ==()
[all …]