cppcheck/cfg/cppcheck-lib.cfg

73 lines
2.0 KiB
INI
Raw Permalink Normal View History

2017-10-11 13:12:00 +02:00
<?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); -->
2017-10-11 13:12:00 +02:00
<function name="Token::Match">
<noreturn>false</noreturn>
<returnValue type="bool"/>
2017-10-11 13:12:00 +02:00
<use-retval/>
<arg nr="1" direction="in">
2017-10-11 13:12:00 +02:00
<not-uninit/>
</arg>
<arg nr="2" direction="in">
2017-10-11 13:12:00 +02:00
<not-uninit/>
<not-null/>
<strz/>
</arg>
<arg nr="3" default="0" direction="in">
2017-10-11 13:12:00 +02:00
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- static bool simpleMatch(const Token *tok, const char pattern[]); -->
2017-10-11 13:12:00 +02:00
<function name="Token::simpleMatch">
<noreturn>false</noreturn>
<returnValue type="bool"/>
2017-10-11 13:12:00 +02:00
<use-retval/>
<arg nr="1" direction="in">
2017-10-11 13:12:00 +02:00
<not-uninit/>
</arg>
<arg nr="2" direction="in">
2017-10-11 13:12:00 +02:00
<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">
2017-10-11 13:12:00 +02:00
<noreturn>false</noreturn>
<returnValue type="const Token *"/>
2017-10-11 13:12:00 +02:00
<use-retval/>
<const/>
<arg nr="1" direction="in">
2017-10-11 13:12:00 +02:00
<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 &amp;"/>
<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>
2017-10-11 13:12:00 +02:00
</def>