Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaChecking.cpp154 static bool checkArgCount(Sema &S, CallExpr *Call, unsigned DesiredArgCount) { in checkArgCount() argument
156 if (ArgCount == DesiredArgCount) in checkArgCount()
159 if (checkArgCountAtLeast(S, Call, DesiredArgCount)) in checkArgCount()
161 assert(ArgCount > DesiredArgCount && "should have diagnosed this"); in checkArgCount()
164 SourceRange Range(Call->getArg(DesiredArgCount)->getBeginLoc(), in checkArgCount()
168 << 0 /*function call*/ << DesiredArgCount << ArgCount in checkArgCount()