Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp156 static bool checkArgCount(Sema &S, CallExpr *Call, unsigned DesiredArgCount) { in checkArgCount() argument
158 if (ArgCount == DesiredArgCount) in checkArgCount()
161 if (checkArgCountAtLeast(S, Call, DesiredArgCount)) in checkArgCount()
163 assert(ArgCount > DesiredArgCount && "should have diagnosed this"); in checkArgCount()
166 SourceRange Range(Call->getArg(DesiredArgCount)->getBeginLoc(), in checkArgCount()
170 << 0 /*function call*/ << DesiredArgCount << ArgCount in checkArgCount()