mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Update TranslatedExpr.qll
Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
24cf75a37c
commit
c1755603a8
@@ -1311,8 +1311,8 @@ class TranslatedUnaryExpr extends TranslatedSingleInstructionExpr {
|
||||
*
|
||||
* The translation of `x = co_await ...` is essentially:
|
||||
* ```cpp
|
||||
* if !awaiter.await_ready() {
|
||||
* awaiter.await_suspend()
|
||||
* if (!awaiter.await_ready()) {
|
||||
* awaiter.await_suspend();
|
||||
* }
|
||||
* x = awaiter.await_resume();
|
||||
* ```
|
||||
|
||||
Reference in New Issue
Block a user