Function usage: Minor update in the pattern for using function
This commit is contained in:
parent
c6264022f9
commit
a26d44daf5
|
@ -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