Skip to content

Commit 54b6261

Browse files
tkrusetheandrewdavis
authored andcommitted
Adapted regression tests to new empty_if_body rule
1 parent 88d5ce5 commit 54b6261

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

samples/protobuf-sample/simple.def

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,6 +1091,7 @@ src/descriptor.pb.cc:9296: Lines should be <= 80 characters long [whitespace/l
10911091
src/descriptor.pb.cc:9300: Lines should be <= 80 characters long [whitespace/line_length] [2]
10921092
src/descriptor.pb.cc:9304: Lines should be <= 80 characters long [whitespace/line_length] [2]
10931093
src/descriptor.pb.cc:9313: Lines should be <= 80 characters long [whitespace/line_length] [2]
1094+
src/descriptor.pb.cc:9363: If statement had no body and no else clause [whitespace/empty_if_body] [4]
10941095
src/descriptor.pb.cc:9378: Lines should be <= 80 characters long [whitespace/line_length] [2]
10951096
src/descriptor.pb.cc:9403: Are you taking an address of something dereferenced from a cast? Wrapping the dereferenced expression in parentheses will make the binding more obvious [readability/casting] [4]
10961097
src/descriptor.pb.cc:9407: Missing space after , [whitespace/comma] [3]
@@ -1133,6 +1134,7 @@ src/descriptor.pb.cc:9863: Lines should be <= 80 characters long [whitespace/l
11331134
src/descriptor.pb.cc:9872: Lines should be <= 80 characters long [whitespace/line_length] [2]
11341135
src/descriptor.pb.cc:9887: Missing space before ( in switch( [whitespace/parens] [5]
11351136
src/descriptor.pb.cc:9910: Missing space before ( in switch( [whitespace/parens] [5]
1137+
src/descriptor.pb.cc:9972: If statement had no body and no else clause [whitespace/empty_if_body] [4]
11361138
src/descriptor.pb.cc:9987: Lines should be <= 80 characters long [whitespace/line_length] [2]
11371139
src/descriptor.pb.cc:10012: Are you taking an address of something dereferenced from a cast? Wrapping the dereferenced expression in parentheses will make the binding more obvious [readability/casting] [4]
11381140
src/descriptor.pb.cc:10016: Missing space after , [whitespace/comma] [3]
@@ -1185,6 +1187,7 @@ src/descriptor.pb.cc:10601: Lines should be <= 80 characters long [whitespace/
11851187
src/descriptor.pb.cc:10605: Lines should be <= 80 characters long [whitespace/line_length] [2]
11861188
src/descriptor.pb.cc:10609: Lines should be <= 80 characters long [whitespace/line_length] [2]
11871189
src/descriptor.pb.cc:10618: Lines should be <= 80 characters long [whitespace/line_length] [2]
1190+
src/descriptor.pb.cc:10664: If statement had no body and no else clause [whitespace/empty_if_body] [4]
11881191
src/descriptor.pb.cc:10679: Lines should be <= 80 characters long [whitespace/line_length] [2]
11891192
src/descriptor.pb.cc:10704: Are you taking an address of something dereferenced from a cast? Wrapping the dereferenced expression in parentheses will make the binding more obvious [readability/casting] [4]
11901193
src/descriptor.pb.cc:10708: Missing space after , [whitespace/comma] [3]
@@ -1307,6 +1310,7 @@ src/descriptor.pb.cc:12488: Lines should be <= 80 characters long [whitespace/
13071310
src/descriptor.pb.cc:12498: Lines should be <= 80 characters long [whitespace/line_length] [2]
13081311
src/descriptor.pb.cc:12499: Lines should be <= 80 characters long [whitespace/line_length] [2]
13091312
src/descriptor.pb.cc:12500: Lines should be <= 80 characters long [whitespace/line_length] [2]
1313+
src/descriptor.pb.cc:12501: If statement had no body and no else clause [whitespace/empty_if_body] [4]
13101314
src/descriptor.pb.cc:12516: Lines should be <= 80 characters long [whitespace/line_length] [2]
13111315
src/descriptor.pb.cc:12522: Lines should be <= 80 characters long [whitespace/line_length] [2]
13121316
src/descriptor.pb.cc:12540: Are you taking an address of something dereferenced from a cast? Wrapping the dereferenced expression in parentheses will make the binding more obvious [readability/casting] [4]

0 commit comments

Comments
 (0)