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

Commit 75455d5

Browse files
committed
Quick hack for QT
Based on google/styleguide#43 by [email protected]
1 parent f7bdcee commit 75455d5

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
@@ -4428,7 +4428,7 @@ def CheckStyle(filename, clean_lines, linenum, file_extension, nesting_state,
44284428
# if(match($0, " <<")) complain = 0;
44294429
# if(match(prev, " +for \\(")) complain = 0;
44304430
# if(prevodd && match(prevprev, " +for \\(")) complain = 0;
4431-
scope_or_label_pattern = r'\s*\w+\s*:\s*\\?$'
4431+
scope_or_label_pattern = r'\s*(\w+|private slots)\s*:\s*\\?$'
44324432
classinfo = nesting_state.InnermostClass()
44334433
initial_spaces = 0
44344434
cleansed_line = clean_lines.elided[linenum]

0 commit comments

Comments
 (0)