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 bfd4c41 commit 3157fcdCopy full SHA for 3157fcd
1 file changed
cpp/ql/test/query-tests/Best Practices/SloppyGlobal/main.cpp
@@ -6,14 +6,14 @@ int descriptive_name; // GOOD: sufficient
6
7
static int z; // GOOD: not a global
8
9
-int v1;
10
-int v2;
+int v1; // BAD: too short
+int v2; // BAD: too short
11
template <typename T>
12
-T v3;
+T v3; // BAD: too short
13
14
-T v4;
+T v4; // BAD: too short
15
16
-T v5;
+T v5; // BAD: too short
17
18
void use_some_fs() {
19
v2 = 100;
0 commit comments