Skip to content

Commit 60da66a

Browse files
Adapt regression test: leading line spaces check change
Normally lines that begin with one or three spaces are flagged, but cpplint changed to not check continuation lines: "don't check for lines that look like continuation lines (of lines ending in double quotes, commas, equals, or angle brackets) because the rules for how to indent those are non-trivial"
1 parent 0726820 commit 60da66a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

samples/boost-sample/headers_simple.def

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ src/tr1/c_policy.hpp:14: Line ends in whitespace. Consider deleting these extr
77
src/tr1/c_policy.hpp:15: Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]
88
src/tr1/c_policy.hpp:16: Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]
99
src/tr1/c_policy.hpp:17: Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]
10-
src/tr1/c_policy.hpp:18: Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
1110
src/tr1/c_policy.hpp:18: Lines should be <= 80 characters long [whitespace/line_length] [2]
1211
src/tr1/c_policy.hpp:19: { should almost always be at the end of the previous line [whitespace/braces] [4]
1312
src/tr1/c_policy.hpp:20: public: should be indented +1 space inside struct policy [whitespace/indent] [3]
@@ -34,7 +33,6 @@ src/tr1/c_policy.hpp:47: Line ends in whitespace. Consider deleting these extr
3433
src/tr1/c_policy.hpp:48: Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]
3534
src/tr1/c_policy.hpp:49: Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]
3635
src/tr1/c_policy.hpp:50: Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]
37-
src/tr1/c_policy.hpp:51: Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
3836
src/tr1/c_policy.hpp:51: Lines should be <= 80 characters long [whitespace/line_length] [2]
3937
src/tr1/c_policy.hpp:52: { should almost always be at the end of the previous line [whitespace/braces] [4]
4038
src/tr1/c_policy.hpp:53: public: should be indented +1 space inside struct policy [whitespace/indent] [3]
@@ -67,11 +65,6 @@ src/tr1/c_policy.hpp:109: Namespace should be terminated with "// namespace mat
6765
src/tr1/c_policy.hpp:109: Namespace should be terminated with "// namespace boost" [readability/namespace] [5]
6866
src/tr1/c_policy.hpp:109: At least two spaces is best between code and comments [whitespace/comments] [2]
6967
src/tr1/c_policy.hpp:111: Missing space before { [whitespace/braces] [5]
70-
src/tr1/c_policy.hpp:122: Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
71-
src/tr1/c_policy.hpp:123: Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
72-
src/tr1/c_policy.hpp:124: Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
73-
src/tr1/c_policy.hpp:125: Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
74-
src/tr1/c_policy.hpp:126: Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
7568
src/tr1/c_policy.hpp:131: Namespace should be terminated with "// namespace c_policies" [readability/namespace] [5]
7669
Done processing src/tr1/c_policy.hpp
7770
Total errors found: 73

0 commit comments

Comments
 (0)