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 24cf75a commit c175560Copy full SHA for c175560
cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedExpr.qll
@@ -1311,8 +1311,8 @@ class TranslatedUnaryExpr extends TranslatedSingleInstructionExpr {
1311
*
1312
* The translation of `x = co_await ...` is essentially:
1313
* ```cpp
1314
- * if !awaiter.await_ready() {
1315
- * awaiter.await_suspend()
+ * if (!awaiter.await_ready()) {
+ * awaiter.await_suspend();
1316
* }
1317
* x = awaiter.await_resume();
1318
* ```
0 commit comments