Commit 4d63744e authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[CHANGE #84] - stylechecker now also checks hpp files.

parent b4f7962c
......@@ -2703,7 +2703,7 @@ def ProcessFile(filename, vlevel):
# When reading from stdin, the extension is unknown, so no cpplint tests
# should rely on the extension.
if (filename != '-' and file_extension != 'cc' and file_extension != 'h'
if (filename != '-' and file_extension != 'cc' and file_extension != 'h' and file_extension != 'hpp'
and file_extension != 'cpp'):
sys.stderr.write('Ignoring %s; not a .cc or .h file\n' % filename)
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment