Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
3805fd78
Commit
3805fd78
authored
Sep 17, 2009
by
Mathias Goldau
Browse files
[MERGE]
parents
adc10626
87082f22
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
tools/brainlint.py
tools/brainlint.py
+4
-3
No files found.
tools/brainlint.py
View file @
3805fd78
...
...
@@ -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.'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment