Skip to content

Commit 6a5ac08

Browse files
committed
CPP: Add c++17 flag to the test.
1 parent 7e90728 commit 6a5ac08

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
| empty_block.cpp:7:10:7:11 | { ... } | Empty block without comment |
2-
| empty_block.cpp:10:10:11:3 | { ... } | Empty block without comment |
3-
| empty_block.cpp:18:10:19:3 | { ... } | Empty block without comment |
1+
| empty_block.cpp:9:10:9:11 | { ... } | Empty block without comment |
2+
| empty_block.cpp:12:10:13:3 | { ... } | Empty block without comment |
3+
| empty_block.cpp:20:10:21:3 | { ... } | Empty block without comment |

cpp/ql/test/query-tests/Best Practices/Likely Errors/EmptyBlock/empty_block.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// semmle-extractor-options: -std=c++17
2+
13
// GOOD:
24
void f() {
35
}

0 commit comments

Comments
 (0)