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
14f65532
"...targets/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "b882177d665d2b08b6e3c51a2f540986fc72b0aa"
Commit
14f65532
authored
Sep 12, 2018
by
Paul
Browse files
Add more functions to check for unused return values
parent
e213c944
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
.clang-tidy
.clang-tidy
+2
-0
cppcheck.rules
cppcheck.rules
+1
-1
No files found.
.clang-tidy
View file @
14f65532
CheckOptions:
CheckOptions:
- key: bugprone-unused-return-value.CheckedFunctions
value: '::std::async;::std::launder;::std::remove;::std::remove_if;::std::unique;::std::unique_ptr::release;::std::basic_string::empty;::std::vector::empty;::std::find;::std::find_if;::std::find_if_not;::std::all_of;::std::any_of;::std::none_of;::std::count;::std::count_if;::std::mismatch;::std::find_end;::std::find_first_of;::std::adjacent_find;::std::search;::std::search_n;::std::nth_element;::std::lower_bound;::std::upper_bound;::std::binary_search;::std::equal_range;::std::max;::std::max_element;::std::min;::std::min_element;::std::minmax;::std::minmax_element;::std::equal;::std::lexicographical_compare;::std::accumulate;::std::inner_product'
- key: modernize-loop-convert.MinConfidence
- key: modernize-loop-convert.MinConfidence
value: risky
value: risky
- key: modernize-loop-convert.NamingStyle
- key: modernize-loop-convert.NamingStyle
...
...
cppcheck.rules
View file @
14f65532
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
<message>
<message>
<id>
useStlAlgorithms
</id>
<id>
useStlAlgorithms
</id>
<severity>
style
</severity>
<severity>
style
</severity>
<summary>
Use std::equal instead
</summary>
<summary>
Use std::equal
_range
instead
</summary>
</message>
</message>
</rule>
</rule>
<rule>
<rule>
...
...
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