Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaExprObjC.cpp1586 unsigned NumNamedArgs = Sel.getNumArgs(); in CheckMessageArgumentTypes() local
1590 NumNamedArgs = Method->param_size(); in CheckMessageArgumentTypes()
1592 if (Args.size() < NumNamedArgs) { in CheckMessageArgumentTypes()
1594 << 2 << NumNamedArgs << static_cast<unsigned>(Args.size()); in CheckMessageArgumentTypes()
1603 for (unsigned i = 0; i < NumNamedArgs; i++) { in CheckMessageArgumentTypes()
1671 for (unsigned i = NumNamedArgs, e = Args.size(); i < e; ++i) { in CheckMessageArgumentTypes()
1682 if (Args.size() != NumNamedArgs) { in CheckMessageArgumentTypes()
1683 Diag(Args[NumNamedArgs]->getLocStart(), in CheckMessageArgumentTypes()
1685 << 2 /*method*/ << NumNamedArgs << static_cast<unsigned>(Args.size()) in CheckMessageArgumentTypes()
1687 << SourceRange(Args[NumNamedArgs]->getLocStart(), in CheckMessageArgumentTypes()
DSemaOverload.cpp5812 unsigned NumNamedArgs = Sel.getNumArgs(); in SelectBestMethod() local
5815 if (Method->param_size() > NumNamedArgs) in SelectBestMethod()
5816 NumNamedArgs = Method->param_size(); in SelectBestMethod()
5817 if (Args.size() < NumNamedArgs) in SelectBestMethod()
5820 for (unsigned i = 0; i < NumNamedArgs; i++) { in SelectBestMethod()
5857 for (unsigned i = NumNamedArgs, e = Args.size(); i < e; ++i) { in SelectBestMethod()
5871 if (Args.size() != NumNamedArgs) in SelectBestMethod()
5873 else if (Match && NumNamedArgs == 0 && Methods.size() > 1) { in SelectBestMethod()