summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/netlist.cppcheck
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2019-11-07 20:25:51 +0100
committer couriersud <couriersud@gmx.org>2019-11-07 20:25:51 +0100
commitae2cad64f4744b13a9e776c087da227dc13d9104 (patch)
tree28e267579b6f2f420acb19e6e717e02ac7f185cb /src/lib/netlist/netlist.cppcheck
parent8564977f3ba67940416ac1dcb8134ec89c8df86f (diff)
netlist: code and documentation maintenance fixes. [Couriersud]
- "nltool -c docheader" now scans sources and creates usage focussed doxy documentation for devices. Very early stage, but works. For an example, please see ne555 source. - Started migrating to pure C++, i.e. "//" comments. - Various documentation fixes. - Added cppcheck configuration to netlist/build - Some smaller code changes.
Diffstat (limited to 'src/lib/netlist/netlist.cppcheck')
-rw-r--r--src/lib/netlist/netlist.cppcheck26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/lib/netlist/netlist.cppcheck b/src/lib/netlist/netlist.cppcheck
new file mode 100644
index 00000000000..642815cb052
--- /dev/null
+++ b/src/lib/netlist/netlist.cppcheck
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="1">
+ <platform>Native</platform>
+ <analyze-all-vs-configs>false</analyze-all-vs-configs>
+ <check-headers>true</check-headers>
+ <check-unused-templates>false</check-unused-templates>
+ <max-ctu-depth>10</max-ctu-depth>
+ <includedir>
+ <dir name="plib/"/>
+ <dir name="../"/>
+ </includedir>
+ <paths>
+ <dir name="/mnt/mfhome/andre/mame/mamegit/src/lib/netlist"/>
+ </paths>
+ <libraries>
+ <library>bsd</library>
+ <library>cppcheck-lib</library>
+ <library>gnu</library>
+ <library>posix</library>
+ <library>zlib</library>
+ </libraries>
+ <addons>
+ <addon>threadsafety</addon>
+ <addon>cert</addon>
+ </addons>
+</project>