Skip to content
This repository was archived by the owner on Jul 13, 2019. It is now read-only.

Commit ded93f5

Browse files
committed
Quick hack for QT
Based on google/styleguide#43 by [email protected]
1 parent 568443c commit ded93f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpplint.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4432,7 +4432,7 @@ def CheckStyle(filename, clean_lines, linenum, file_extension, nesting_state,
44324432
# if(match($0, " <<")) complain = 0;
44334433
# if(match(prev, " +for \\(")) complain = 0;
44344434
# if(prevodd && match(prevprev, " +for \\(")) complain = 0;
4435-
scope_or_label_pattern = r'\s*\w+\s*:\s*\\?$'
4435+
scope_or_label_pattern = r'\s*(\w+|private slots)\s*:\s*\\?$'
44364436
classinfo = nesting_state.InnermostClass()
44374437
initial_spaces = 0
44384438
cleansed_line = clean_lines.elided[linenum]

0 commit comments

Comments
 (0)