We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a3cc9a commit de25bc6Copy full SHA for de25bc6
cpp/ql/src/semmle/code/cpp/commons/Synchronization.qll
@@ -169,7 +169,10 @@ class DefaultMutexType extends MutexType {
169
}
170
171
172
-/** Holds if `arg` is the mutex argument of a call to lock or unlock. */
+/**
173
+ * Holds if `arg` is the mutex argument of a call to lock or unlock and
174
+ * `argType` is the type of the mutex.
175
+ */
176
private predicate lockArg(Expr arg, MutexType argType, FunctionCall call) {
177
argType = arg.getUnderlyingType().stripType() and
178
(
0 commit comments