SymbolDatabase: Fix Token::Match pattern
This commit is contained in:
parent
ce12e1cea6
commit
746d024e3d
|
@ -584,7 +584,7 @@ SymbolDatabase::SymbolDatabase(const Tokenizer *tokenizer, const Settings *setti
|
||||||
function.throwArg = end->tokAt(arg);
|
function.throwArg = end->tokAt(arg);
|
||||||
|
|
||||||
function.isThrow(true);
|
function.isThrow(true);
|
||||||
} else if (Token::Match(end, ") const| &|&&|")) {
|
} else if (Token::Match(end, ") const| &|&&| [;{]")) {
|
||||||
int arg = 1;
|
int arg = 1;
|
||||||
|
|
||||||
if (end->strAt(arg) == "const")
|
if (end->strAt(arg) == "const")
|
||||||
|
|
Loading…
Reference in New Issue