Skip to content

Commit ad3247b

Browse files
tkrusetheandrewdavis
authored andcommitted
Adapt regression tests to changed rule about named parameters
1 parent 5e98d60 commit ad3247b

2 files changed

Lines changed: 1 addition & 13 deletions

File tree

samples/silly-sample/simple.def

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ src/sillycode.cpp:150: Missing spaces around = [whitespace/operators] [4]
5454
src/sillycode.cpp:151: Missing spaces around = [whitespace/operators] [4]
5555
src/sillycode.cpp:157: At least two spaces is best between code and comments [whitespace/comments] [2]
5656
src/sillycode.cpp:159: Tab found; better to use spaces [whitespace/tab] [1]
57-
src/sillycode.cpp:159: All parameters should be named in a function [readability/function] [3]
5857
src/sillycode.cpp:161: At least two spaces is best between code and comments [whitespace/comments] [2]
5958
src/sillycode.cpp:163: At least two spaces is best between code and comments [whitespace/comments] [2]
6059
src/sillycode.cpp:166: Tab found; better to use spaces [whitespace/tab] [1]

samples/vlc-sample/simple.def

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,6 @@ src/libvlc.c:640: { should almost always be at the end of the previous line [w
364364
Done processing src/libvlc.c
365365
src/libvlc.h:0: No #ifndef header guard found, suggested CPP variable is: SAMPLES_VLC_SAMPLE_SRC_LIBVLC_H_ [build/header_guard] [5]
366366
src/libvlc.h:34: Extra space before ( in function call [whitespace/parens] [4]
367-
src/libvlc.h:34: All parameters should be named in a function [readability/function] [3]
368367
src/libvlc.h:35: Extra space before ( in function call [whitespace/parens] [4]
369368
src/libvlc.h:40: Extra space after ( in function call [whitespace/parens] [4]
370369
src/libvlc.h:40: Extra space before ( in function call [whitespace/parens] [4]
@@ -375,19 +374,13 @@ src/libvlc.h:41: Extra space before ( in function call [whitespace/parens] [4]
375374
src/libvlc.h:41: Extra space before ) [whitespace/parens] [2]
376375
src/libvlc.h:45: Extra space after ( in function call [whitespace/parens] [4]
377376
src/libvlc.h:45: Extra space before ) [whitespace/parens] [2]
378-
src/libvlc.h:49: All parameters should be named in a function [readability/function] [3]
379377
src/libvlc.h:58: Extra space after ( in function call [whitespace/parens] [4]
380378
src/libvlc.h:58: Extra space before ) [whitespace/parens] [2]
381379
src/libvlc.h:60: Extra space before ( in function call [whitespace/parens] [4]
382-
src/libvlc.h:60: All parameters should be named in a function [readability/function] [3]
383380
src/libvlc.h:62: Extra space before ( in function call [whitespace/parens] [4]
384381
src/libvlc.h:66: Extra space before ( in function call [whitespace/parens] [4]
385-
src/libvlc.h:66: All parameters should be named in a function [readability/function] [3]
386382
src/libvlc.h:68: Extra space after ( in function call [whitespace/parens] [4]
387383
src/libvlc.h:68: Extra space before ) [whitespace/parens] [2]
388-
src/libvlc.h:76: All parameters should be named in a function [readability/function] [3]
389-
src/libvlc.h:77: All parameters should be named in a function [readability/function] [3]
390-
src/libvlc.h:78: All parameters should be named in a function [readability/function] [3]
391384
src/libvlc.h:84: { should almost always be at the end of the previous line [whitespace/braces] [4]
392385
src/libvlc.h:86: Extra space before ( in function call [whitespace/parens] [4]
393386
src/libvlc.h:90: Extra space after ( in function call [whitespace/parens] [4]
@@ -417,12 +410,9 @@ src/libvlc.h:185: { should almost always be at the end of the previous line [w
417410
src/libvlc.h:191: { should almost always be at the end of the previous line [whitespace/braces] [4]
418411
src/libvlc.h:200: { should almost always be at the end of the previous line [whitespace/braces] [4]
419412
src/libvlc.h:222: Extra space before ( in function call [whitespace/parens] [4]
420-
src/libvlc.h:222: All parameters should be named in a function [readability/function] [3]
421413
src/libvlc.h:223: Extra space before ( in function call [whitespace/parens] [4]
422414
src/libvlc.h:224: Extra space before ( in function call [whitespace/parens] [4]
423415
src/libvlc.h:224: Extra space before ) [whitespace/parens] [2]
424-
src/libvlc.h:224: All parameters should be named in a function [readability/function] [3]
425-
src/libvlc.h:227: All parameters should be named in a function [readability/function] [3]
426416
Done processing src/libvlc.h
427417
src/missing.c:44: Extra space before ( in function call [whitespace/parens] [4]
428418
src/missing.c:45: { should almost always be at the end of the previous line [whitespace/braces] [4]
@@ -614,5 +604,4 @@ src/missing.c:399: Extra space before ( in function call [whitespace/parens] [
614604
src/missing.c:400: { should almost always be at the end of the previous line [whitespace/braces] [4]
615605
src/missing.c:401: Extra space before ( in function call [whitespace/parens] [4]
616606
Done processing src/missing.c
617-
Total errors found: 611
618-
607+
Total errors found: 601

0 commit comments

Comments
 (0)