File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,12 +24,20 @@ The following parameters are given to clang by default:
2424
2525 * -Xanalyzer -analyzer-output=text
2626
27+ * -fno-caret-diagnostics
28+
2729The following parameters are passed to clang from compiler's command line:
2830
2931 * -D...
3032
3133 * -I...
3234
35+ * -O...
36+
37+ * -fexceptions
38+
39+ * -fno-exceptions
40+
3341 * -include ...
3442
3543 * -iquote ...
@@ -42,12 +50,6 @@ The following parameters are passed to clang from compiler's command line:
4250
4351 * -m64
4452
45- * -fexceptions
46-
47- * -fno-exceptions
48-
49- * -O...
50-
5153 * -std...
5254
5355The following file extensions are recognized as C/C++ source files:
Original file line number Diff line number Diff line change @@ -32,11 +32,13 @@ The following parameters are given to cppcheck by default:
3232
3333 * -D__WORDSIZE=64{nbsp} [64bit architecture only]
3434
35+ * -D\__CPPCHECK__
36+
3537 * --inline-suppr
3638
3739 * --quiet
3840
39- * --template="\{file}:\{line}: \{severity}: \{id}: \{message}"
41+ * --template="\{file}:\{line}: \{severity}: \{id}(CWE-\{cwe}) : \{message}"
4042
4143 * --suppressions-list=/usr/share/cscppc/default.supp
4244
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ The following parameters are given to the GCC analyzer by default:
2525
2626 * -fno-diagnostics-show-caret
2727
28+ * -fno-lto
29+
2830 * -c -o /dev/null
2931
3032The following parameters are passed to the GCC analyzer from compiler's command
3436
3537 * -I...
3638
39+ * -O...
40+
41+ * -Wno-...
42+
43+ * -f...
44+
3745 * -include ...
3846
3947 * -iquote ...
4654
4755 * -m64
4856
49- * -fexceptions
50-
51- * -fno-exceptions
52-
53- * -O...
54-
5557 * -std...
5658
5759If csgcca is installed on system, the following command activates the wrapper:
You can’t perform that action at this time.
0 commit comments