Skip to content

Commit c175560

Browse files
MathiasVPjketema
andauthored
Update TranslatedExpr.qll
Co-authored-by: Jeroen Ketema <[email protected]>
1 parent 24cf75a commit c175560

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedExpr.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,8 +1311,8 @@ class TranslatedUnaryExpr extends TranslatedSingleInstructionExpr {
13111311
*
13121312
* The translation of `x = co_await ...` is essentially:
13131313
* ```cpp
1314-
* if !awaiter.await_ready() {
1315-
* awaiter.await_suspend()
1314+
* if (!awaiter.await_ready()) {
1315+
* awaiter.await_suspend();
13161316
* }
13171317
* x = awaiter.await_resume();
13181318
* ```

0 commit comments

Comments
 (0)