Skip to content

Commit 2cea42b

Browse files
Fix regression test samples to reflect better header handling
1 parent 8950f6a commit 2cea42b

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

samples/codelite-sample/simple.def

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -598,9 +598,6 @@ src/pptable.cpp:660: Tab found; better to use spaces [whitespace/tab] [1]
598598
src/pptable.cpp:661: Tab found; better to use spaces [whitespace/tab] [1]
599599
src/pptable.cpp:662: Tab found; better to use spaces [whitespace/tab] [1]
600600
src/pptable.cpp:663: Tab found; better to use spaces [whitespace/tab] [1]
601-
src/pptable.cpp:526: Add #include <map> for map<> [build/include_what_you_use] [4]
602-
src/pptable.cpp:592: Add #include <vector> for vector<> [build/include_what_you_use] [4]
603-
src/pptable.cpp:648: Add #include <string> for string [build/include_what_you_use] [4]
604601
Done processing src/pptable.cpp
605602
src/pptable.h:0: No copyright message found. You should have a line: "Copyright [year] <Copyright Owner>" [legal/copyright] [5]
606603
src/pptable.h:1: #ifndef header guard has wrong style, please use: SAMPLES_CODELITE_SAMPLE_SRC_PPTABLE_H_ [build/header_guard] [5]
@@ -684,5 +681,5 @@ src/pptable.h:128: Tab found; better to use spaces [whitespace/tab] [1]
684681
src/pptable.h:129: Tab found; better to use spaces [whitespace/tab] [1]
685682
src/pptable.h:131: At least two spaces is best between code and comments [whitespace/comments] [2]
686683
Done processing src/pptable.h
687-
Total errors found: 682
684+
Total errors found: 679
688685

samples/silly-sample/simple.def

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,6 @@ src/sillycode.cpp:252: Tab found; better to use spaces [whitespace/tab] [1]
111111
src/sillycode.cpp:252: At least two spaces is best between code and comments [whitespace/comments] [2]
112112
src/sillycode.cpp:255: Empty loop bodies should use {} or continue [whitespace/empty_loop_body] [5]
113113
src/sillycode.cpp:255: At least two spaces is best between code and comments [whitespace/comments] [2]
114-
src/sillycode.cpp:9: Add #include <vector> for vector<> [build/include_what_you_use] [4]
115-
src/sillycode.cpp:121: Add #include <algorithm> for swap [build/include_what_you_use] [4]
116-
src/sillycode.cpp:219: Add #include <limits> for numeric_limits<> [build/include_what_you_use] [4]
117-
src/sillycode.cpp:232: Add #include <string> for string [build/include_what_you_use] [4]
118114
Done processing src/sillycode.cpp
119-
Total errors found: 115
115+
Total errors found: 111
120116

0 commit comments

Comments
 (0)