You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: man/manual.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,6 +108,14 @@ This option is only valid when supplying an input directory. To ignore multiple
108
108
109
109
cppcheck -isrc/b -isrc/c
110
110
111
+
### Clang parser
112
+
113
+
By default Cppcheck uses an internal C/C++ parser. However it is possible to use the Clang parser instead.
114
+
115
+
Install `clang`. Then use Cppcheck option `--clang`.
116
+
117
+
Technically, Cppcheck will execute `clang` with its `-ast-dump` option. The Clang output is then imported and converted into our normal Cppcheck format. And then normal Cppcheck analysis is performed on that.
0 commit comments