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

Commit 42917be

Browse files
committed
Quick hack for QT
1 parent 87391d5 commit 42917be

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
@@ -4410,7 +4410,7 @@ def CheckStyle(filename, clean_lines, linenum, file_extension, nesting_state,
44104410
# if(match($0, " <<")) complain = 0;
44114411
# if(match(prev, " +for \\(")) complain = 0;
44124412
# if(prevodd && match(prevprev, " +for \\(")) complain = 0;
4413-
scope_or_label_pattern = r'\s*\w+\s*:\s*\\?$'
4413+
scope_or_label_pattern = r'\s*(\w+|private slots)\s*:\s*\\?$'
44144414
classinfo = nesting_state.InnermostClass()
44154415
initial_spaces = 0
44164416
cleansed_line = clean_lines.elided[linenum]

0 commit comments

Comments
 (0)