Skip to content

Commit 12bc284

Browse files
Adapt regression file to remove unapproved C++11 feature errors
1 parent 55e165c commit 12bc284

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

samples/silly-sample/filters.def

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,16 @@ src/sillycode.cpp:35: If/else bodies with multiple statements require braces [
66
src/sillycode.cpp:61: Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
77
src/sillycode.cpp:71: Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
88
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]
139
src/sillycode.cpp:113: Is this a non-const reference? If so, make const or use a pointer: N::X& a [runtime/references] [2]
1410
src/sillycode.cpp:113: Is this a non-const reference? If so, make const or use a pointer: N::X& b [runtime/references] [2]
1511
src/sillycode.cpp:118: Is this a non-const reference? If so, make const or use a pointer: N::X& a [runtime/references] [2]
1612
src/sillycode.cpp:118: Is this a non-const reference? If so, make const or use a pointer: N::X& b [runtime/references] [2]
1713
src/sillycode.cpp:159: All parameters should be named in a function [readability/function] [3]
1814
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]
1915
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]
2116
src/sillycode.cpp:194: If an else has a brace on one side, it should have it on both [readability/braces] [5]
2217
src/sillycode.cpp:197: If an else has a brace on one side, it should have it on both [readability/braces] [5]
2318
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]
2519
src/sillycode.cpp:223: Using C-style cast. Use reinterpret_cast<double*>(...) instead [readability/casting] [4]
2620
src/sillycode.cpp:238: Using C-style cast. Use reinterpret_cast<derived2*>(...) instead [readability/casting] [4]
2721
Done processing src/sillycode.cpp

0 commit comments

Comments
 (0)