C++: Tweak qldoc for coroutines

This commit is contained in:
Ian Lynagh
2020-09-07 20:39:11 +01:00
parent 4bf545548b
commit d49bc4ccda
2 changed files with 3 additions and 3 deletions

View File

@@ -1270,7 +1270,7 @@ class SpaceshipExpr extends BinaryOperation, @spaceshipexpr {
}
/**
* A C/C++ co_await expression
* A C/C++ `co_await` expression.
* ```
* co_await foo();
* ```
@@ -1284,7 +1284,7 @@ class CoAwaitExpr extends UnaryOperation, @co_await {
}
/**
* A C/C++ co_yield expression
* A C/C++ `co_yield` expression.
* ```
* co_yield 1;
* ```

View File

@@ -663,7 +663,7 @@ class LabelStmt extends Stmt, @stmt_label {
}
/**
* A C/C++ 'co_return' statement.
* A C/C++ `co_return` statement.
*
* For example:
* ```