cppcheck-py 2.9__py3-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. cppcheck/__init__.py +55 -0
  2. cppcheck/cppcheck-2.9.tar.gz +0 -0
  3. cppcheck/data/addons/__init__.py +0 -0
  4. cppcheck/data/addons/cppcheck.py +39 -0
  5. cppcheck/data/addons/cppcheckdata.py +1529 -0
  6. cppcheck/data/addons/findcasts.py +33 -0
  7. cppcheck/data/addons/misc.py +163 -0
  8. cppcheck/data/addons/misra.py +4728 -0
  9. cppcheck/data/addons/misra_9.py +513 -0
  10. cppcheck/data/addons/naming.py +91 -0
  11. cppcheck/data/addons/namingng.py +253 -0
  12. cppcheck/data/addons/runaddon.py +12 -0
  13. cppcheck/data/addons/threadsafety.py +39 -0
  14. cppcheck/data/addons/y2038.py +252 -0
  15. cppcheck/data/cfg/avr.cfg +431 -0
  16. cppcheck/data/cfg/bento4.cfg +142 -0
  17. cppcheck/data/cfg/boost.cfg +1268 -0
  18. cppcheck/data/cfg/bsd.cfg +546 -0
  19. cppcheck/data/cfg/cairo.cfg +88 -0
  20. cppcheck/data/cfg/cppcheck-lib.cfg +72 -0
  21. cppcheck/data/cfg/cppunit.cfg +48 -0
  22. cppcheck/data/cfg/daca.cfg +31 -0
  23. cppcheck/data/cfg/dpdk.cfg +11 -0
  24. cppcheck/data/cfg/embedded_sql.cfg +4 -0
  25. cppcheck/data/cfg/emscripten.cfg +7 -0
  26. cppcheck/data/cfg/ginac.cfg +12848 -0
  27. cppcheck/data/cfg/gnu.cfg +1626 -0
  28. cppcheck/data/cfg/googletest.cfg +60 -0
  29. cppcheck/data/cfg/gtk.cfg +20584 -0
  30. cppcheck/data/cfg/icu.cfg +6 -0
  31. cppcheck/data/cfg/kde.cfg +51 -0
  32. cppcheck/data/cfg/libcerror.cfg +128 -0
  33. cppcheck/data/cfg/libcurl.cfg +487 -0
  34. cppcheck/data/cfg/libsigc++.cfg +36 -0
  35. cppcheck/data/cfg/lua.cfg +316 -0
  36. cppcheck/data/cfg/mfc.cfg +256 -0
  37. cppcheck/data/cfg/microsoft_atl.cfg +40 -0
  38. cppcheck/data/cfg/microsoft_sal.cfg +491 -0
  39. cppcheck/data/cfg/microsoft_unittest.cfg +20 -0
  40. cppcheck/data/cfg/motif.cfg +318 -0
  41. cppcheck/data/cfg/nspr.cfg +38 -0
  42. cppcheck/data/cfg/ntl.cfg +6907 -0
  43. cppcheck/data/cfg/opencv2.cfg +132 -0
  44. cppcheck/data/cfg/opengl.cfg +580 -0
  45. cppcheck/data/cfg/openmp.cfg +157 -0
  46. cppcheck/data/cfg/openssl.cfg +174 -0
  47. cppcheck/data/cfg/pcre.cfg +165 -0
  48. cppcheck/data/cfg/posix.cfg +6252 -0
  49. cppcheck/data/cfg/python.cfg +674 -0
  50. cppcheck/data/cfg/qt.cfg +5255 -0
  51. cppcheck/data/cfg/ruby.cfg +142 -0
  52. cppcheck/data/cfg/sdl.cfg +354 -0
  53. cppcheck/data/cfg/sfml.cfg +301 -0
  54. cppcheck/data/cfg/sqlite3.cfg +1527 -0
  55. cppcheck/data/cfg/std.cfg +8716 -0
  56. cppcheck/data/cfg/tinyxml2.cfg +56 -0
  57. cppcheck/data/cfg/vcl.cfg +4 -0
  58. cppcheck/data/cfg/windows.cfg +17941 -0
  59. cppcheck/data/cfg/wxsqlite3.cfg +1955 -0
  60. cppcheck/data/cfg/wxsvg.cfg +16905 -0
  61. cppcheck/data/cfg/wxwidgets.cfg +16464 -0
  62. cppcheck/data/cfg/zlib.cfg +1450 -0
  63. cppcheck/data/cppcheck-htmlreport +986 -0
  64. cppcheck/data/cppcheck.exe +0 -0
  65. cppcheck/data/platforms/aix_ppc64.xml +17 -0
  66. cppcheck/data/platforms/arm32-wchar_t2.xml +17 -0
  67. cppcheck/data/platforms/arm32-wchar_t4.xml +17 -0
  68. cppcheck/data/platforms/arm64-wchar_t2.xml +17 -0
  69. cppcheck/data/platforms/arm64-wchar_t4.xml +17 -0
  70. cppcheck/data/platforms/avr8.xml +18 -0
  71. cppcheck/data/platforms/cray_sv1.xml +17 -0
  72. cppcheck/data/platforms/elbrus-e1cp.xml +18 -0
  73. cppcheck/data/platforms/mips32.xml +18 -0
  74. cppcheck/data/platforms/msp430_eabi_large_datamodel.xml +17 -0
  75. cppcheck/data/platforms/pic16.xml +18 -0
  76. cppcheck/data/platforms/pic8-enhanced.xml +18 -0
  77. cppcheck/data/platforms/pic8.xml +18 -0
  78. cppcheck/data/platforms/unix32-unsigned.xml +17 -0
  79. cppcheck/data/platforms/unix64-unsigned.xml +17 -0
  80. cppcheck_py-2.9.dist-info/METADATA +76 -0
  81. cppcheck_py-2.9.dist-info/RECORD +84 -0
  82. cppcheck_py-2.9.dist-info/WHEEL +5 -0
  83. cppcheck_py-2.9.dist-info/entry_points.txt +4 -0
  84. cppcheck_py-2.9.dist-info/licenses/LICENSE.md +191 -0
@@ -0,0 +1,72 @@
1
+ <?xml version="1.0"?>
2
+ <def>
3
+ <function name="Token::astOperand1,Token::astOperand2,Token::astParent,Token::fileIndex,Token::linenr,Token::function,Token::link,Token::next,Token::previous,Token::scope,Token::str,Token::varId,Token::variable">
4
+ <noreturn>false</noreturn>
5
+ <use-retval/>
6
+ </function>
7
+ <!-- static bool Match(const Token *tok, const char pattern[], unsigned int varid = 0); -->
8
+ <function name="Token::Match">
9
+ <noreturn>false</noreturn>
10
+ <returnValue type="bool"/>
11
+ <use-retval/>
12
+ <arg nr="1" direction="in">
13
+ <not-uninit/>
14
+ </arg>
15
+ <arg nr="2" direction="in">
16
+ <not-uninit/>
17
+ <not-null/>
18
+ <strz/>
19
+ </arg>
20
+ <arg nr="3" default="0" direction="in">
21
+ <not-uninit/>
22
+ <not-bool/>
23
+ </arg>
24
+ </function>
25
+ <!-- static bool simpleMatch(const Token *tok, const char pattern[]); -->
26
+ <function name="Token::simpleMatch">
27
+ <noreturn>false</noreturn>
28
+ <returnValue type="bool"/>
29
+ <use-retval/>
30
+ <arg nr="1" direction="in">
31
+ <not-uninit/>
32
+ </arg>
33
+ <arg nr="2" direction="in">
34
+ <not-uninit/>
35
+ <not-null/>
36
+ <strz/>
37
+ </arg>
38
+ </function>
39
+ <!-- const Token *linkAt(int index) const; -->
40
+ <!-- const Token *tokAt(int index) const; -->
41
+ <function name="Token::linkAt,Token::tokAt">
42
+ <noreturn>false</noreturn>
43
+ <returnValue type="const Token *"/>
44
+ <use-retval/>
45
+ <const/>
46
+ <arg nr="1" direction="in">
47
+ <not-uninit/>
48
+ <valid>-50:50</valid>
49
+ <not-bool/>
50
+ </arg>
51
+ </function>
52
+ <!-- const std::string &strAt(int index) const; -->
53
+ <function name="Token::strAt">
54
+ <noreturn>false</noreturn>
55
+ <returnValue type="const std::string &amp;"/>
56
+ <use-retval/>
57
+ <const/>
58
+ <arg nr="1" direction="in">
59
+ <not-uninit/>
60
+ <valid>-50:50</valid>
61
+ <not-bool/>
62
+ </arg>
63
+ </function>
64
+ <!-- const ValueType *valueType() const; -->
65
+ <function name="Token::valueType">
66
+ <noreturn>false</noreturn>
67
+ <returnValue type="const ValueType *"/>
68
+ <use-retval/>
69
+ <const/>
70
+ <leak-ignore/>
71
+ </function>
72
+ </def>
@@ -0,0 +1,48 @@
1
+ <?xml version="1.0"?>
2
+ <def format="2">
3
+ <!-- CppUnit sourceforge.net/projects/cppunit -->
4
+ <define name="CPPUNIT_TEST_SUITE(testsuite)" value=""/>
5
+ <define name="CPPUNIT_TEST(test)" value=""/>
6
+ <define name="CPPUNIT_TEST_SUITE_END()" value=""/>
7
+ <!-- Macros see http://cppunit.sourceforge.net/doc/cvs/group___assertions.html -->
8
+ <define name="CPPUNIT_ASSERT(condition)" value="{if (!(condition)) throw false;}"/>
9
+ <define name="CPPUNIT_ASSERT_MESSAGE(message, condition)" value="{if (!(condition)) throw message;}"/>
10
+ <define name="CPPUNIT_FAIL(message)" value="throw message;"/>
11
+ <define name="CPPUNIT_ASSERT_EQUAL(expected, actual)" value="{if ((expected) != (actual)) throw false;}"/>
12
+ <define name="CPPUNIT_ASSERT_EQUAL_MESSAGE(message, expected, actual)" value="{if ((expected) != (actual)) throw message;}"/>
13
+ <define name="CPPUNIT_ASSERT_DOUBLES_EQUAL(expected, actual, delta)" value="{if (std::abs((expected) - (actual)) &gt; delta) throw false;}"/>
14
+ <define name="CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE(message, expected, actual, delta)" value="{if (std::abs((expected) - (actual)) &gt; delta) throw message;}"/>
15
+ <define name="CPPUNIT_ASSERT_THROW(expression, ExceptionType)" value=""/>
16
+ <define name="CPPUNIT_ASSERT_THROW_MESSAGE(message, expression, ExceptionType)" value=""/>
17
+ <define name="CPPUNIT_ASSERT_NO_THROW(expression)" value=""/>
18
+ <define name="CPPUNIT_ASSERT_NO_THROW_MESSAGE(message, expression)" value=""/>
19
+ <define name="CPPUNIT_ASSERT_ASSERTION_FAIL(assertion)" value="CPPUNIT_ASSERT_THROW( assertion, CPPUNIT_NS::Exception )"/>
20
+ <define name="CPPUNIT_ASSERT_ASSERTION_FAIL_MESSAGE(message, assertion)" value="CPPUNIT_ASSERT_THROW_MESSAGE( message, assertion, CPPUNIT_NS::Exception )"/>
21
+ <define name="CPPUNIT_ASSERT_ASSERTION_PASS(assertion)" value="CPPUNIT_ASSERT_NO_THROW( assertion )"/>
22
+ <define name="CPPUNIT_ASSERT_ASSERTION_PASS_MESSAGE(message, assertion)" value="CPPUNIT_ASSERT_NO_THROW_MESSAGE( message, assertion )"/>
23
+ <function name="CppUnit::TestCase::setUp,CppUnit::TestCase::tearDown">
24
+ <noreturn>false</noreturn>
25
+ <returnValue type="void"/>
26
+ </function>
27
+ <!-- virtual void addTest (Test *test) -->
28
+ <function name="CppUnit::TestRunner::addTest">
29
+ <noreturn>false</noreturn>
30
+ <returnValue type="void"/>
31
+ <leak-ignore/>
32
+ <arg nr="1">
33
+ <not-uninit/>
34
+ </arg>
35
+ </function>
36
+ <!-- virtual void run (TestResult &controller, const std::string &testPath="") -->
37
+ <function name="CppUnit::TestRunner::run">
38
+ <noreturn>false</noreturn>
39
+ <returnValue type="void"/>
40
+ <leak-ignore/>
41
+ <arg nr="1">
42
+ <not-uninit/>
43
+ </arg>
44
+ <arg nr="2">
45
+ <not-uninit/>
46
+ </arg>
47
+ </function>
48
+ </def>
@@ -0,0 +1,31 @@
1
+ <?xml version="1.0"?>
2
+ <def format="2">
3
+ <!-- This configuration is used in daca@home and contains some common practice macros and functions which are helpful for daca analysis. -->
4
+ <!-- see gnu.cfg -->
5
+ <define name="ASSERT(expr)" value="assert (expr)"/>
6
+ <define name="BE(expr, val)" value="__builtin_expect (expr, val)"/>
7
+ <function name="MIN">
8
+ <use-retval/>
9
+ <noreturn>false</noreturn>
10
+ <leak-ignore/>
11
+ <returnValue>arg1&lt;arg2?arg1:arg2</returnValue>
12
+ <arg nr="1" direction="in">
13
+ <not-uninit/>
14
+ </arg>
15
+ <arg nr="2" direction="in">
16
+ <not-uninit/>
17
+ </arg>
18
+ </function>
19
+ <function name="MAX">
20
+ <use-retval/>
21
+ <noreturn>false</noreturn>
22
+ <leak-ignore/>
23
+ <returnValue>arg1&gt;arg2?arg1:arg2</returnValue>
24
+ <arg nr="1" direction="in">
25
+ <not-uninit/>
26
+ </arg>
27
+ <arg nr="2" direction="in">
28
+ <not-uninit/>
29
+ </arg>
30
+ </function>
31
+ </def>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0"?>
2
+ <def format="2">
3
+ <function name="rte_panic">
4
+ <noreturn>true</noreturn>
5
+ <formatstr/>
6
+ <arg nr="1" direction="in">
7
+ <not-uninit/>
8
+ <formatstr/>
9
+ </arg>
10
+ </function>
11
+ </def>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0"?>
2
+ <def format="2">
3
+ <define name="EXEC" value="__CPPCHECK_EMBEDDED_SQL_EXEC__"/>
4
+ </def>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0"?>
2
+ <def format="2">
3
+ <define name="EM_ASM(...)" value=""/>
4
+ <define name="EM_JS(...)" value=""/>
5
+ <define name="MAIN_THREAD_EM_ASM(...)" value=""/>
6
+ <define name="EMSCRIPTEN_BINDINGS(...)" value=""/>
7
+ </def>