Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
ae9ecf1c
"vscode:/vscode.git/clone" did not exist on "1b323316a8448499ad835d495ffbe197ef97761a"
Commit
ae9ecf1c
authored
Feb 01, 2019
by
Paul
Browse files
Add a rule mutable variables
parent
5711c9bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
cppcheck.rules
cppcheck.rules
+8
-0
No files found.
cppcheck.rules
View file @
ae9ecf1c
...
@@ -41,6 +41,14 @@
...
@@ -41,6 +41,14 @@
<summary>
Macros must be prefixed with MIGRAPHX_
</summary>
<summary>
Macros must be prefixed with MIGRAPHX_
</summary>
</message>
</message>
</rule>
</rule>
<rule>
<pattern>
mutable \w+
</pattern>
<message>
<id>
MutableVariable
</id>
<severity>
style
</severity>
<summary>
Do not create mutable variables.
</summary>
</message>
</rule>
<rule>
<rule>
<pattern>
(memcpy|strcpy|strncpy|strcat|strncat) \(
</pattern>
<pattern>
(memcpy|strcpy|strncpy|strcat|strncat) \(
</pattern>
<message>
<message>
...
...
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