-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathcppcheck-lib.cfg
More file actions
72 lines (72 loc) · 2.02 KB
/
cppcheck-lib.cfg
File metadata and controls
72 lines (72 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0"?>
<def>
<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">
<noreturn>false</noreturn>
<use-retval/>
</function>
<!-- static bool Match(const Token *tok, const char pattern[], unsigned int varid = 0); -->
<function name="Token::Match">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<use-retval/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
<not-null/>
<strz/>
</arg>
<arg nr="3" default="0" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- static bool simpleMatch(const Token *tok, const char pattern[]); -->
<function name="Token::simpleMatch">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<use-retval/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
<not-null/>
<strz/>
</arg>
</function>
<!-- const Token *linkAt(int index) const; -->
<!-- const Token *tokAt(int index) const; -->
<function name="Token::linkAt,Token::tokAt">
<noreturn>false</noreturn>
<returnValue type="const Token *"/>
<use-retval/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
<valid>-50:50</valid>
<not-bool/>
</arg>
</function>
<!-- const std::string &strAt(int index) const; -->
<function name="Token::strAt">
<noreturn>false</noreturn>
<returnValue type="const std::string &"/>
<use-retval/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
<valid>-50:50</valid>
<not-bool/>
</arg>
</function>
<!-- const ValueType *valueType() const; -->
<function name="Token::valueType">
<noreturn>false</noreturn>
<returnValue type="const ValueType *"/>
<use-retval/>
<const/>
<leak-ignore/>
</function>
</def>