Home
last modified time | relevance | path

Searched refs:desiredArgCount (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Sema/
DSemaChecking.cpp56 static bool checkArgCount(Sema &S, CallExpr *call, unsigned desiredArgCount) { in checkArgCount() argument
58 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()
/external/llvm-project/clang/lib/Sema/
DSemaChecking.cpp112 static bool checkArgCount(Sema &S, CallExpr *call, unsigned desiredArgCount) { in checkArgCount() argument
114 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()