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

Commit 7448129

Browse files
berntkruse
bern
authored andcommitted
Quick hack for QT
Based on google/styleguide#43 by [email protected]
1 parent a7c23c5 commit 7448129

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
@@ -4439,7 +4439,7 @@ def CheckStyle(filename, clean_lines, linenum, file_extension, nesting_state,
44394439
# if(match($0, " <<")) complain = 0;
44404440
# if(match(prev, " +for \\(")) complain = 0;
44414441
# if(prevodd && match(prevprev, " +for \\(")) complain = 0;
4442-
scope_or_label_pattern = r'\s*\w+\s*:\s*\\?$'
4442+
scope_or_label_pattern = r'\s*(\w+|private slots)\s*:\s*\\?$'
44434443
classinfo = nesting_state.InnermostClass()
44444444
initial_spaces = 0
44454445
cleansed_line = clean_lines.elided[linenum]

0 commit comments

Comments
 (0)