Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8199b3a

Browse files
Matthew Gretton-Dannigfoo
authored andcommitted
C++: Add DB schema support for coroutines
1 parent 22b3b0a commit 8199b3a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

cpp/ql/src/semmlecode.cpp.dbscheme

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1647,6 +1647,8 @@ case @expr.kind of
16471647
| 324 = @builtinconvertvector
16481648
| 325 = @builtincomplex
16491649
| 326 = @spaceshipexpr
1650+
| 327 = @co_await
1651+
| 328 = @co_yield
16501652
;
16511653

16521654
@var_args_expr = @vastartexpr
@@ -1851,6 +1853,8 @@ case @stmt.kind of
18511853
| 33 = @stmt_handler
18521854
// ... 34 @stmt_finally_end deprecated
18531855
| 35 = @stmt_constexpr_if
1856+
| 37 = @stmt_co_return
1857+
| 38 = @stmt_range_based_for_co_await
18541858
;
18551859

18561860
type_vla(

0 commit comments

Comments
 (0)