Removed duplicated words (#10754)
This commit is contained in:
2
cmake/developer_package/cpplint/cpplint.py
vendored
2
cmake/developer_package/cpplint/cpplint.py
vendored
@@ -3592,7 +3592,7 @@ def CheckOperatorSpacing(filename, clean_lines, linenum, error):
|
||||
elif not Match(r'#.*include', line):
|
||||
# Look for < that is not surrounded by spaces. This is only
|
||||
# triggered if both sides are missing spaces, even though
|
||||
# technically should should flag if at least one side is missing a
|
||||
# technically should flag if at least one side is missing a
|
||||
# space. This is done to avoid some false positives with shifts.
|
||||
match = Match(r'^(.*[^\s<])<[^\s=<,]', line)
|
||||
if match:
|
||||
|
||||
Reference in New Issue
Block a user