Searched refs:desiredArgCount (Results 1 – 2 of 2) sorted by relevance
56 static bool checkArgCount(Sema &S, CallExpr *call, unsigned desiredArgCount) { in checkArgCount() argument58 if (argCount == desiredArgCount) return false; in checkArgCount()60 if (argCount < desiredArgCount) in checkArgCount()62 << 0 /*function call*/ << desiredArgCount << argCount in checkArgCount()66 SourceRange range(call->getArg(desiredArgCount)->getLocStart(), in checkArgCount()70 << 0 /*function call*/ << desiredArgCount << argCount in checkArgCount()
112 static bool checkArgCount(Sema &S, CallExpr *call, unsigned desiredArgCount) { in checkArgCount() argument114 if (argCount == desiredArgCount) return false; in checkArgCount()116 if (argCount < desiredArgCount) in checkArgCount()118 << 0 /*function call*/ << desiredArgCount << argCount in checkArgCount()122 SourceRange range(call->getArg(desiredArgCount)->getBeginLoc(), in checkArgCount()126 << 0 /*function call*/ << desiredArgCount << argCount in checkArgCount()