mirror of
https://github.com/google/styleguide.git
synced 2024-03-22 13:11:43 +08:00
Merge 84fb7c09afcbaa5ffd7ee4f8e5db9908f5708251 into 8487c083e1faecb1259be8a8873618cfdb69d33d
This commit is contained in:
commit
b4cee2c0b2
1
cpplint/cpplint.py
vendored
1
cpplint/cpplint.py
vendored
@ -3951,6 +3951,7 @@ def CheckTrailingSemicolon(filename, clean_lines, linenum, error):
|
||||
(func and not Search(r'\boperator\s*\[\s*\]', func.group(1))) or
|
||||
Search(r'\b(?:struct|union)\s+alignas\s*$', line_prefix) or
|
||||
Search(r'\bdecltype$', line_prefix) or
|
||||
Search(r'\breturn\s*$', line_prefix) or
|
||||
Search(r'\s+=\s*$', line_prefix)):
|
||||
match = None
|
||||
if (match and
|
||||
|
Loading…
x
Reference in New Issue
Block a user