Commit 3805fd78 authored by Mathias Goldau's avatar Mathias Goldau
Browse files

[MERGE]

parents adc10626 87082f22
......@@ -2334,6 +2334,7 @@ def CheckLanguage(filename, clean_lines, linenum, file_extension, include_state,
% (match.group(1), match.group(2)))
if Search(r'\busing namespace\b', line):
if( not file_extension == "cpp" ):
error(filename, linenum, 'build/namespaces', 5,
'Do not use namespace using-directives. '
'Use using-declarations instead.')
......
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