Lines Matching refs:ArgIdx

2399     for (unsigned ArgIdx = 0, NumArgs = FromFunctionType->getNumParams();  in isObjCPointerConversion()  local
2400 ArgIdx != NumArgs; ++ArgIdx) { in isObjCPointerConversion()
2401 QualType FromArgType = FromFunctionType->getParamType(ArgIdx); in isObjCPointerConversion()
2402 QualType ToArgType = ToFunctionType->getParamType(ArgIdx); in isObjCPointerConversion()
2560 for (unsigned ArgIdx = 0, NumArgs = FromFunctionType->getNumParams(); in IsBlockPointerConversion() local
2561 ArgIdx != NumArgs; ++ArgIdx) { in IsBlockPointerConversion()
2563 QualType FromArgType = FromFunctionType->getParamType(ArgIdx); in IsBlockPointerConversion()
2564 QualType ToArgType = ToFunctionType->getParamType(ArgIdx); in IsBlockPointerConversion()
5828 for (unsigned ArgIdx = 0; ArgIdx < Args.size(); ++ArgIdx) { in AddOverloadCandidate() local
5829 if (ArgIdx < NumParams) { in AddOverloadCandidate()
5834 QualType ParamType = Proto->getParamType(ArgIdx); in AddOverloadCandidate()
5835 Candidate.Conversions[ArgIdx] in AddOverloadCandidate()
5836 = TryCopyInitialization(*this, Args[ArgIdx], ParamType, in AddOverloadCandidate()
5842 if (Candidate.Conversions[ArgIdx].isBad()) { in AddOverloadCandidate()
5851 Candidate.Conversions[ArgIdx].setEllipsis(); in AddOverloadCandidate()
6205 for (unsigned ArgIdx = 0; ArgIdx < Args.size(); ++ArgIdx) { in AddMethodCandidate() local
6206 if (ArgIdx < NumParams) { in AddMethodCandidate()
6211 QualType ParamType = Proto->getParamType(ArgIdx); in AddMethodCandidate()
6212 Candidate.Conversions[ArgIdx + 1] in AddMethodCandidate()
6213 = TryCopyInitialization(*this, Args[ArgIdx], ParamType, in AddMethodCandidate()
6218 if (Candidate.Conversions[ArgIdx + 1].isBad()) { in AddMethodCandidate()
6227 Candidate.Conversions[ArgIdx + 1].setEllipsis(); in AddMethodCandidate()
6666 for (unsigned ArgIdx = 0, N = Args.size(); ArgIdx != N; ++ArgIdx) { in AddSurrogateCandidate() local
6667 if (ArgIdx < NumParams) { in AddSurrogateCandidate()
6672 QualType ParamType = Proto->getParamType(ArgIdx); in AddSurrogateCandidate()
6673 Candidate.Conversions[ArgIdx + 1] in AddSurrogateCandidate()
6674 = TryCopyInitialization(*this, Args[ArgIdx], ParamType, in AddSurrogateCandidate()
6679 if (Candidate.Conversions[ArgIdx + 1].isBad()) { in AddSurrogateCandidate()
6688 Candidate.Conversions[ArgIdx + 1].setEllipsis(); in AddSurrogateCandidate()
6776 for (unsigned ArgIdx = 0, N = Args.size(); ArgIdx != N; ++ArgIdx) in AddBuiltinCandidate() local
6777 Candidate.BuiltinTypes.ParamTypes[ArgIdx] = ParamTys[ArgIdx]; in AddBuiltinCandidate()
6783 for (unsigned ArgIdx = 0, N = Args.size(); ArgIdx != N; ++ArgIdx) { in AddBuiltinCandidate() local
6796 if (ArgIdx < NumContextualBoolArguments) { in AddBuiltinCandidate()
6797 assert(ParamTys[ArgIdx] == Context.BoolTy && in AddBuiltinCandidate()
6799 Candidate.Conversions[ArgIdx] in AddBuiltinCandidate()
6800 = TryContextuallyConvertToBool(*this, Args[ArgIdx]); in AddBuiltinCandidate()
6802 Candidate.Conversions[ArgIdx] in AddBuiltinCandidate()
6803 = TryCopyInitialization(*this, Args[ArgIdx], ParamTys[ArgIdx], in AddBuiltinCandidate()
6804 ArgIdx == 0 && IsAssignmentOperator, in AddBuiltinCandidate()
6809 if (Candidate.Conversions[ArgIdx].isBad()) { in AddBuiltinCandidate()
7546 for (unsigned ArgIdx = 0, N = Args.size(); ArgIdx != N; ++ArgIdx) { in addEqualEqualOrNotEqualMemberPointerOverloads() local
7548 MemPtr = CandidateTypes[ArgIdx].member_pointer_begin(), in addEqualEqualOrNotEqualMemberPointerOverloads()
7549 MemPtrEnd = CandidateTypes[ArgIdx].member_pointer_end(); in addEqualEqualOrNotEqualMemberPointerOverloads()
7589 for (unsigned ArgIdx = 0, N = Args.size(); ArgIdx != N; ++ArgIdx) { in addRelationalPointerOrEnumeralOverloads() local
7590 if (CandidateTypes[ArgIdx].enumeration_begin() != in addRelationalPointerOrEnumeralOverloads()
7591 CandidateTypes[ArgIdx].enumeration_end()) { in addRelationalPointerOrEnumeralOverloads()
7622 for (unsigned ArgIdx = 0, N = Args.size(); ArgIdx != N; ++ArgIdx) { in addRelationalPointerOrEnumeralOverloads() local
7624 Ptr = CandidateTypes[ArgIdx].pointer_begin(), in addRelationalPointerOrEnumeralOverloads()
7625 PtrEnd = CandidateTypes[ArgIdx].pointer_end(); in addRelationalPointerOrEnumeralOverloads()
7635 Enum = CandidateTypes[ArgIdx].enumeration_begin(), in addRelationalPointerOrEnumeralOverloads()
7636 EnumEnd = CandidateTypes[ArgIdx].enumeration_end(); in addRelationalPointerOrEnumeralOverloads()
7651 if (CandidateTypes[ArgIdx].hasNullPtrType()) { in addRelationalPointerOrEnumeralOverloads()
7830 for (unsigned ArgIdx = 0; ArgIdx < 2; ++ArgIdx) { in addAssignmentMemberPointerOrEnumeralOverloads() local
7832 Enum = CandidateTypes[ArgIdx].enumeration_begin(), in addAssignmentMemberPointerOrEnumeralOverloads()
7833 EnumEnd = CandidateTypes[ArgIdx].enumeration_end(); in addAssignmentMemberPointerOrEnumeralOverloads()
7842 MemPtr = CandidateTypes[ArgIdx].member_pointer_begin(), in addAssignmentMemberPointerOrEnumeralOverloads()
7843 MemPtrEnd = CandidateTypes[ArgIdx].member_pointer_end(); in addAssignmentMemberPointerOrEnumeralOverloads()
8204 for (unsigned ArgIdx = 0; ArgIdx < 2; ++ArgIdx) { in addConditionalOperatorOverloads() local
8206 Ptr = CandidateTypes[ArgIdx].pointer_begin(), in addConditionalOperatorOverloads()
8207 PtrEnd = CandidateTypes[ArgIdx].pointer_end(); in addConditionalOperatorOverloads()
8217 MemPtr = CandidateTypes[ArgIdx].member_pointer_begin(), in addConditionalOperatorOverloads()
8218 MemPtrEnd = CandidateTypes[ArgIdx].member_pointer_end(); in addConditionalOperatorOverloads()
8229 Enum = CandidateTypes[ArgIdx].enumeration_begin(), in addConditionalOperatorOverloads()
8230 EnumEnd = CandidateTypes[ArgIdx].enumeration_end(); in addConditionalOperatorOverloads()
8263 for (unsigned ArgIdx = 0, N = Args.size(); ArgIdx != N; ++ArgIdx) in AddBuiltinOperatorCandidates() local
8264 VisibleTypeConversionsQuals += CollectVRQualifiers(Context, Args[ArgIdx]); in AddBuiltinOperatorCandidates()
8269 for (unsigned ArgIdx = 0, N = Args.size(); ArgIdx != N; ++ArgIdx) { in AddBuiltinOperatorCandidates() local
8271 CandidateTypes[ArgIdx].AddTypesConvertedFrom(Args[ArgIdx]->getType(), in AddBuiltinOperatorCandidates()
8279 CandidateTypes[ArgIdx].hasNonRecordTypes(); in AddBuiltinOperatorCandidates()
8282 CandidateTypes[ArgIdx].hasArithmeticOrEnumeralTypes(); in AddBuiltinOperatorCandidates()
8572 for (unsigned ArgIdx = StartArg; ArgIdx < NumArgs; ++ArgIdx) { in isBetterOverloadCandidate() local
8574 Cand1.Conversions[ArgIdx], in isBetterOverloadCandidate()
8575 Cand2.Conversions[ArgIdx])) { in isBetterOverloadCandidate()
9812 for (unsigned ArgIdx = 0; ArgIdx < NoOperands; ++ArgIdx) { in NoteAmbiguousUserConversions() local
9813 const ImplicitConversionSequence &ICS = Cand->Conversions[ArgIdx]; in NoteAmbiguousUserConversions()
10024 unsigned ArgIdx = ConvIdx; in CompleteNonViableCandidate() local
10032 ArgIdx--; in CompleteNonViableCandidate()
10037 ArgIdx--; in CompleteNonViableCandidate()
10054 for (; ConvIdx != ConvCount; ++ConvIdx, ++ArgIdx) { in CompleteNonViableCandidate()
10055 if (ArgIdx < NumParams) { in CompleteNonViableCandidate()
10057 S, Args[ArgIdx], Proto->getParamType(ArgIdx), SuppressUserConversions, in CompleteNonViableCandidate()
12867 for (unsigned ArgIdx = 0, N = Args.size(); ArgIdx != N; ++ArgIdx) { in BuildLiteralOperatorCall() local
12869 InitializedEntity::InitializeParameter(Context, FD->getParamDecl(ArgIdx)), in BuildLiteralOperatorCall()
12870 SourceLocation(), Args[ArgIdx]); in BuildLiteralOperatorCall()
12873 ConvArgs[ArgIdx] = InputInit.get(); in BuildLiteralOperatorCall()