Skip to content

Commit 846eac8

Browse files
committed
C++: Add a placeholder for 'getOpcode'.
1 parent 8842b97 commit 846eac8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1280,6 +1280,9 @@ class TranslatedUnaryExpr extends TranslatedSingleInstructionExpr {
12801280
or
12811281
// TODO: Use a new opcode to represent "awaiting the value"
12821282
expr instanceof CoAwaitExpr and result instanceof Opcode::CopyValue
1283+
or
1284+
// TODO: Use a new opcode to represent "awaiting the value"
1285+
expr instanceof CoYieldExpr and result instanceof Opcode::CopyValue
12831286
}
12841287

12851288
private TranslatedExpr getOperand() {

0 commit comments

Comments
 (0)