C++: Remove FPs from cpp/too-few-arguments

This commit is contained in:
Calum Grant
2024-11-06 14:12:36 +00:00
parent 86c25d0396
commit 4d851440b6
2 changed files with 3 additions and 3 deletions

View File

@@ -51,5 +51,7 @@ predicate tooFewArguments(FunctionCall fc, Function f) {
hasDefiniteNumberOfParameters(fde)
|
fde.getNumberOfParameters() > fc.getNumberOfArguments()
)
) and
// Don't report on implicit function declarations, as these are likely extraction errors.
not f.getADeclarationEntry().isImplicit()
}