Skip to content

Commit be61714

Browse files
committed
Add cppcheck configuration files
1 parent 985d6f3 commit be61714

File tree

5 files changed

+68
-0
lines changed

5 files changed

+68
-0
lines changed

etc/cppcheck/README.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<!--
2+
3+
@license Apache-2.0
4+
5+
Copyright (c) 2021 The Stdlib Authors.
6+
7+
Licensed under the Apache License, Version 2.0 (the "License");
8+
you may not use this file except in compliance with the License.
9+
You may obtain a copy of the License at
10+
11+
http://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing, software
14+
distributed under the License is distributed on an "AS IS" BASIS,
15+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
See the License for the specific language governing permissions and
17+
limitations under the License.
18+
19+
-->
20+
21+
# cppcheck
22+
23+
> [cppcheck][cppcheck] configuration.
24+
25+
<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->
26+
27+
<section class="intro">
28+
29+
This directory contains [cppcheck][cppcheck] configuration files.
30+
31+
</section>
32+
33+
<!-- /.intro -->
34+
35+
<!-- Section to include notes. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
36+
37+
<section class="notes">
38+
39+
</section>
40+
41+
<!-- /.notes -->
42+
43+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
44+
45+
<section class="links">
46+
47+
[cppcheck]: http://cppcheck.sourceforge.net/
48+
49+
</section>
50+
51+
<!-- /.links -->
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
duplicateExpression
2+
missingIncludeSystem
3+
unmatchedSuppression
4+
variableScope
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
duplicateExpression
2+
missingIncludeSystem
3+
unmatchedSuppression
4+
variableScope
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
duplicateExpression
2+
missingIncludeSystem
3+
unmatchedSuppression
4+
variableScope

etc/cppcheck/suppressions.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
duplicateExpression
2+
invalidPointerCast
3+
missingIncludeSystem
4+
unmatchedSuppression
5+
variableScope

0 commit comments

Comments
 (0)