File tree 1 file changed +4
-6
lines changed
clang/include/clang/Analysis/Analyses
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -94,16 +94,14 @@ enum AccessKind {
94
94
95
95
// / This enum distinguishes between different situations where we warn due to
96
96
// / inconsistent locking.
97
- // / \enum SK_LockedSomeLoopIterations -- a mutex is locked for some but not all
98
- // / loop iterations.
99
- // / \enum SK_LockedSomePredecessors -- a mutex is locked in some but not all
100
- // / predecessors of a CFGBlock.
101
- // / \enum SK_LockedAtEndOfFunction -- a mutex is still locked at the end of a
102
- // / function.
103
97
enum LockErrorKind {
98
+ // / A capability is locked for some but not all loop iterations.
104
99
LEK_LockedSomeLoopIterations,
100
+ // / A capability is locked in some but not all predecessors of a CFGBlock.
105
101
LEK_LockedSomePredecessors,
102
+ // / A capability is still locked at the end of a function.
106
103
LEK_LockedAtEndOfFunction,
104
+ // / Expecting a capability to be held at the end of function.
107
105
LEK_NotLockedAtEndOfFunction
108
106
};
109
107
You can’t perform that action at this time.
0 commit comments