Skip to content

Commit

Permalink
Do not lint .h files in regression/
Browse files Browse the repository at this point in the history
  • Loading branch information
tautschnig committed Jun 6, 2018
1 parent 763d4d1 commit fc670b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cpplint.py
Original file line number Diff line number Diff line change
Expand Up @@ -6536,7 +6536,7 @@ def ProcessFile(filename, vlevel, extra_check_functions=[]):
if Search(r'_builtin_headers(_[a-z0-9_-]+)?\.h$', filename):
return

if Search(r'regression/.*\.cpp', filename):
if Search(r'regression/.*\.(cpp|h)', filename):
return

if not ProcessConfigOverrides(filename):
Expand Down

0 comments on commit fc670b5

Please sign in to comment.