Function usage: Better handling of '!foo()'
This commit is contained in:
parent
578027f05f
commit
5330524f48
|
@ -91,7 +91,7 @@ void CheckFunctionUsage::parseTokens( const Tokenizer &tokenizer )
|
||||||
{
|
{
|
||||||
const TOKEN *funcname = 0;
|
const TOKEN *funcname = 0;
|
||||||
|
|
||||||
if ( TOKEN::Match( tok, "[;{}.,()[=+-/&|?:] %var% [(),;:}]" ) ||
|
if ( TOKEN::Match( tok, "[;{}.,()[=+-/&|!?:] %var% [(),;:}]" ) ||
|
||||||
TOKEN::Match(tok, ":: %var% (") ||
|
TOKEN::Match(tok, ":: %var% (") ||
|
||||||
TOKEN::Match(tok, "|= %var% (") ||
|
TOKEN::Match(tok, "|= %var% (") ||
|
||||||
TOKEN::Match(tok, "&= %var% (") ||
|
TOKEN::Match(tok, "&= %var% (") ||
|
||||||
|
|
Loading…
Reference in New Issue