Skip to content

Commit eb776a7

Browse files
committed
formatting
1 parent c0d36be commit eb776a7

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

cpp/common/src/codingstandards/cpp/Concurrency.qll

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -421,9 +421,10 @@ class LockProtectedControlFlowNode extends ThreadedCFN {
421421
/**
422422
* Models a function that conditionally waits.
423423
*/
424-
abstract class ConditionalWait extends FunctionCall {}
424+
abstract class ConditionalWait extends FunctionCall { }
425+
425426
/**
426-
* Models a function in CPP that will conditionally wait.
427+
* Models a function in CPP that will conditionally wait.
427428
*/
428429
class CPPConditionalWait extends ConditionalWait {
429430
CPPConditionalWait() {
@@ -436,12 +437,10 @@ class CPPConditionalWait extends ConditionalWait {
436437
}
437438

438439
/**
439-
* Models a function in C that will conditionally wait.
440+
* Models a function in C that will conditionally wait.
440441
*/
441442
class CConditionalWait extends ConditionalWait {
442-
CConditionalWait() {
443-
getTarget().getName() in ["cnd_wait"]
444-
}
443+
CConditionalWait() { getTarget().getName() in ["cnd_wait"] }
445444
}
446445

447446
/**

0 commit comments

Comments
 (0)