Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec2bf91 commit 630233fCopy full SHA for 630233f
2 files changed
cpp/ql/test/query-tests/Best Practices/Likely Errors/EmptyBlock/EmptyBlock.expected
@@ -1,3 +1,5 @@
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 |
4
+| empty_block.cpp:53:10:53:11 | { ... } | Empty block without comment |
5
+| empty_block.cpp:56:10:56:11 | { ... } | Empty block without comment |
cpp/ql/test/query-tests/Best Practices/Likely Errors/EmptyBlock/empty_block.cpp
@@ -48,4 +48,10 @@ int f(int x) {
48
49
// GOOD (no block)
50
for (;;) ;
51
+
52
+ // GOOD (has comment): [FALSE POSITIVE]
53
+ if (x) {} // comment
54
55
56
57
}
0 commit comments