Skip to content

Commit f017975

Browse files
committed
add MISRA suppressions list
1 parent 2695384 commit f017975

File tree

5 files changed

+13
-5016
lines changed

5 files changed

+13
-5016
lines changed
File renamed without changes.

Diff for: .CodeChecker/run.sh

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#!/bin/bash
22

3-
CodeChecker analyze compile_commands.json \
4-
--ignore .CodeChecker/skipfile_bazel.txt \
5-
-o reports
3+
# CodeChecker analyze compile_commands.json \
4+
# --ignore .CodeChecker/skipfile_bazel.txt \
5+
# -o reports
66

77

88
# Make the MISRA report
9-
# CodeChecker analyze compile_commands.json \
10-
# --ignore .CodeChecker/skipfile_bazel.txt \
11-
# --ignore .CodeChecker/skipfile_thirdparty.txt \
12-
# --cppcheckargs .CodeChecker/cppcheckargs.txt \
13-
# --analyzer-config cppcheck:addons=.cppcheck/misra.json \
14-
# --analyzer-config cppcheck:platform=unix64 \
15-
# -o misra_reports
9+
CodeChecker analyze compile_commands.json \
10+
--ignore .CodeChecker/skipfile_bazel.txt \
11+
--ignore .CodeChecker/skipfile_thirdparty.txt \
12+
--cppcheckargs .CodeChecker/cppcheckargs.txt \
13+
--analyzer-config cppcheck:addons=.cppcheck/misra.json \
14+
--analyzer-config cppcheck:platform=unix64 \
15+
-o misra_reports

Diff for: .CodeChecker/suppressions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cppcheck-misra-c2012-15.5 // A function should have a single point of exit at the end
1+
misra-c2012-15.5 // ignore: Rule 15.5 Advisory A function should have a single point of exit at the end

0 commit comments

Comments
 (0)