Skip to content

Commit d49bc4c

Browse files
committed
C++: Tweak qldoc for coroutines
1 parent 4bf5455 commit d49bc4c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cpp/ql/src/semmle/code/cpp/exprs/Expr.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1270,7 +1270,7 @@ class SpaceshipExpr extends BinaryOperation, @spaceshipexpr {
12701270
}
12711271

12721272
/**
1273-
* A C/C++ co_await expression
1273+
* A C/C++ `co_await` expression.
12741274
* ```
12751275
* co_await foo();
12761276
* ```
@@ -1284,7 +1284,7 @@ class CoAwaitExpr extends UnaryOperation, @co_await {
12841284
}
12851285

12861286
/**
1287-
* A C/C++ co_yield expression
1287+
* A C/C++ `co_yield` expression.
12881288
* ```
12891289
* co_yield 1;
12901290
* ```

cpp/ql/src/semmle/code/cpp/stmts/Stmt.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ class LabelStmt extends Stmt, @stmt_label {
663663
}
664664

665665
/**
666-
* A C/C++ 'co_return' statement.
666+
* A C/C++ `co_return` statement.
667667
*
668668
* For example:
669669
* ```

0 commit comments

Comments
 (0)