You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/silly-sample/filters.def
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,11 @@ src/sillycode.cpp:113: Is this a non-const reference? If so, make const or use
11
11
src/sillycode.cpp:118: Is this a non-const reference? If so, make const or use a pointer: N::X& a [runtime/references] [2]
12
12
src/sillycode.cpp:118: Is this a non-const reference? If so, make const or use a pointer: N::X& b [runtime/references] [2]
13
13
src/sillycode.cpp:166: Do not use variable-length arrays. Use an appropriately named ('k' followed by CamelCase) compile-time constant for the size. [runtime/arrays] [1]
14
-
src/sillycode.cpp:173: For a static/global string constant, use a C style string instead: "char s[]". [runtime/string] [4]
14
+
src/sillycode.cpp:173: Static/global string variables are not permitted. [runtime/string] [4]
15
15
src/sillycode.cpp:194: If an else has a brace on one side, it should have it on both [readability/braces] [5]
16
16
src/sillycode.cpp:197: If an else has a brace on one side, it should have it on both [readability/braces] [5]
17
-
src/sillycode.cpp:203: For a static/global string constant, use a C style string instead: "char var[]". [runtime/string] [4]
17
+
src/sillycode.cpp:203: Static/global string variables are not permitted. [runtime/string] [4]
18
+
src/sillycode.cpp:222: Static/global string variables are not permitted. [runtime/string] [4]
18
19
src/sillycode.cpp:223: Using C-style cast. Use reinterpret_cast<double*>(...) instead [readability/casting] [4]
19
20
src/sillycode.cpp:238: Using C-style cast. Use reinterpret_cast<derived2*>(...) instead [readability/casting] [4]
0 commit comments