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
src/sillycode.cpp:61: Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
7
7
src/sillycode.cpp:71: Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
8
8
src/sillycode.cpp:80: Constructors callable with one argument should be marked explicit. [runtime/explicit] [5]
9
-
src/sillycode.cpp:90: RValue references are an unapproved C++ feature. [build/c++11] [3]
10
-
src/sillycode.cpp:94: RValue references are an unapproved C++ feature. [build/c++11] [3]
11
-
src/sillycode.cpp:105: RValue references are an unapproved C++ feature. [build/c++11] [3]
12
-
src/sillycode.cpp:106: RValue references are an unapproved C++ feature. [build/c++11] [3]
13
9
src/sillycode.cpp:113: Is this a non-const reference? If so, make const or use a pointer: N::X& a [runtime/references] [2]
14
10
src/sillycode.cpp:113: Is this a non-const reference? If so, make const or use a pointer: N::X& b [runtime/references] [2]
15
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]
16
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]
17
13
src/sillycode.cpp:159: All parameters should be named in a function [readability/function] [3]
18
14
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]
19
15
src/sillycode.cpp:173: For a static/global string constant, use a C style string instead: "char s[]". [runtime/string] [4]
20
-
src/sillycode.cpp:178: Default lambda captures are an unapproved C++ feature. [build/c++11] [4]
21
16
src/sillycode.cpp:194: If an else has a brace on one side, it should have it on both [readability/braces] [5]
22
17
src/sillycode.cpp:197: If an else has a brace on one side, it should have it on both [readability/braces] [5]
23
18
src/sillycode.cpp:203: For a static/global string constant, use a C style string instead: "char var[]". [runtime/string] [4]
24
-
src/sillycode.cpp:203: Default lambda captures are an unapproved C++ feature. [build/c++11] [4]
25
19
src/sillycode.cpp:223: Using C-style cast. Use reinterpret_cast<double*>(...) instead [readability/casting] [4]
26
20
src/sillycode.cpp:238: Using C-style cast. Use reinterpret_cast<derived2*>(...) instead [readability/casting] [4]
0 commit comments