Skip to content

Commit df7bbc8

Browse files
Adapt regression test to fix newlines and error counts
1 parent 60da66a commit df7bbc8

6 files changed

Lines changed: 9 additions & 8 deletions

File tree

samples/boost-sample/headers_simple.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@ src/tr1/c_policy.hpp:109: At least two spaces is best between code and comments
6767
src/tr1/c_policy.hpp:111: Missing space before { [whitespace/braces] [5]
6868
src/tr1/c_policy.hpp:131: Namespace should be terminated with "// namespace c_policies" [readability/namespace] [5]
6969
Done processing src/tr1/c_policy.hpp
70-
Total errors found: 73
70+
Total errors found: 66
7171

samples/boost-sample/simple.def

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2574,3 +2574,4 @@ include/boost/math/octonion.hpp:4247: Namespace should be terminated with "// n
25742574
include/boost/math/octonion.hpp:4248: Namespace should be terminated with "// namespace boost" [readability/namespace] [5]
25752575
Done processing include/boost/math/octonion.hpp
25762576
Total errors found: 2572
2577+

samples/codelite-sample/simple.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,5 +682,5 @@ src/pptable.h:128: Tab found; better to use spaces [whitespace/tab] [1]
682682
src/pptable.h:129: Tab found; better to use spaces [whitespace/tab] [1]
683683
src/pptable.h:131: At least two spaces is best between code and comments [whitespace/comments] [2]
684684
Done processing src/pptable.h
685-
Total errors found: 679
685+
Total errors found: 680
686686

samples/protobuf-sample/simple.def

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2646,4 +2646,5 @@ src/descriptor_unittest.cc:5929: Single-parameter constructors should be marked
26462646
src/descriptor_unittest.cc:5968: Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
26472647
src/descriptor_unittest.cc:6486: Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
26482648
Done processing src/descriptor_unittest.cc
2649-
Total errors found: 2642
2649+
Total errors found: 2643
2650+

samples/silly-sample/filters.def

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ src/sillycode.cpp:222: Static/global string variables are not permitted. [runt
1919
src/sillycode.cpp:223: Using C-style cast. Use reinterpret_cast<double*>(...) instead [readability/casting] [4]
2020
src/sillycode.cpp:238: Using C-style cast. Use reinterpret_cast<derived2*>(...) instead [readability/casting] [4]
2121
Done processing src/sillycode.cpp
22-
Category 'build' errors found: 6
2322
Category 'legal' errors found: 1
24-
Category 'readability' errors found: 6
25-
Category 'runtime' errors found: 11
26-
Total errors found: 24
23+
Category 'readability' errors found: 5
24+
Category 'runtime' errors found: 12
25+
Total errors found: 18
2726

samples/silly-sample/simple.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,5 @@ src/sillycode.cpp:252: At least two spaces is best between code and comments [
107107
src/sillycode.cpp:255: Empty loop bodies should use {} or continue [whitespace/empty_loop_body] [5]
108108
src/sillycode.cpp:255: At least two spaces is best between code and comments [whitespace/comments] [2]
109109
Done processing src/sillycode.cpp
110-
Total errors found: 111
110+
Total errors found: 106
111111

0 commit comments

Comments
 (0)