parent
116c10c7d6
commit
f637b84192
|
@ -2584,6 +2584,9 @@ void CheckOther::checkLibraryMatchFunctions()
|
||||||
!Token::Match(tok, "for|if|while|switch|sizeof|catch|asm|return") &&
|
!Token::Match(tok, "for|if|while|switch|sizeof|catch|asm|return") &&
|
||||||
!tok->function() &&
|
!tok->function() &&
|
||||||
!tok->varId() &&
|
!tok->varId() &&
|
||||||
|
!tok->type() &&
|
||||||
|
!tok->isStandardType() &&
|
||||||
|
tok->linkAt(1)->strAt(1) != "(" &&
|
||||||
tok->astParent() == tok->next() &&
|
tok->astParent() == tok->next() &&
|
||||||
_settings->library.isNotLibraryFunction(tok)) {
|
_settings->library.isNotLibraryFunction(tok)) {
|
||||||
reportError(tok,
|
reportError(tok,
|
||||||
|
|
Loading…
Reference in New Issue