• Home
  • Raw
  • Download

Lines Matching refs:ArgIdx

2293     for (unsigned ArgIdx = 0, NumArgs = FromFunctionType->getNumArgs();  in isObjCPointerConversion()  local
2294 ArgIdx != NumArgs; ++ArgIdx) { in isObjCPointerConversion()
2295 QualType FromArgType = FromFunctionType->getArgType(ArgIdx); in isObjCPointerConversion()
2296 QualType ToArgType = ToFunctionType->getArgType(ArgIdx); in isObjCPointerConversion()
2454 for (unsigned ArgIdx = 0, NumArgs = FromFunctionType->getNumArgs(); in IsBlockPointerConversion() local
2455 ArgIdx != NumArgs; ++ArgIdx) { in IsBlockPointerConversion()
2457 QualType FromArgType = FromFunctionType->getArgType(ArgIdx); in IsBlockPointerConversion()
2458 QualType ToArgType = ToFunctionType->getArgType(ArgIdx); in IsBlockPointerConversion()
5505 for (unsigned ArgIdx = 0; ArgIdx < Args.size(); ++ArgIdx) { in AddOverloadCandidate() local
5506 if (ArgIdx < NumArgsInProto) { in AddOverloadCandidate()
5511 QualType ParamType = Proto->getArgType(ArgIdx); in AddOverloadCandidate()
5512 Candidate.Conversions[ArgIdx] in AddOverloadCandidate()
5513 = TryCopyInitialization(*this, Args[ArgIdx], ParamType, in AddOverloadCandidate()
5519 if (Candidate.Conversions[ArgIdx].isBad()) { in AddOverloadCandidate()
5528 Candidate.Conversions[ArgIdx].setEllipsis(); in AddOverloadCandidate()
5678 for (unsigned ArgIdx = 0; ArgIdx < Args.size(); ++ArgIdx) { in AddMethodCandidate() local
5679 if (ArgIdx < NumArgsInProto) { in AddMethodCandidate()
5684 QualType ParamType = Proto->getArgType(ArgIdx); in AddMethodCandidate()
5685 Candidate.Conversions[ArgIdx + 1] in AddMethodCandidate()
5686 = TryCopyInitialization(*this, Args[ArgIdx], ParamType, in AddMethodCandidate()
5691 if (Candidate.Conversions[ArgIdx + 1].isBad()) { in AddMethodCandidate()
5700 Candidate.Conversions[ArgIdx + 1].setEllipsis(); in AddMethodCandidate()
6073 for (unsigned ArgIdx = 0, N = Args.size(); ArgIdx != N; ++ArgIdx) { in AddSurrogateCandidate() local
6074 if (ArgIdx < NumArgsInProto) { in AddSurrogateCandidate()
6079 QualType ParamType = Proto->getArgType(ArgIdx); in AddSurrogateCandidate()
6080 Candidate.Conversions[ArgIdx + 1] in AddSurrogateCandidate()
6081 = TryCopyInitialization(*this, Args[ArgIdx], ParamType, in AddSurrogateCandidate()
6086 if (Candidate.Conversions[ArgIdx + 1].isBad()) { in AddSurrogateCandidate()
6095 Candidate.Conversions[ArgIdx + 1].setEllipsis(); in AddSurrogateCandidate()
6175 for (unsigned ArgIdx = 0, N = Args.size(); ArgIdx != N; ++ArgIdx) in AddBuiltinCandidate() local
6176 Candidate.BuiltinTypes.ParamTypes[ArgIdx] = ParamTys[ArgIdx]; in AddBuiltinCandidate()
6182 for (unsigned ArgIdx = 0, N = Args.size(); ArgIdx != N; ++ArgIdx) { in AddBuiltinCandidate() local
6195 if (ArgIdx < NumContextualBoolArguments) { in AddBuiltinCandidate()
6196 assert(ParamTys[ArgIdx] == Context.BoolTy && in AddBuiltinCandidate()
6198 Candidate.Conversions[ArgIdx] in AddBuiltinCandidate()
6199 = TryContextuallyConvertToBool(*this, Args[ArgIdx]); in AddBuiltinCandidate()
6201 Candidate.Conversions[ArgIdx] in AddBuiltinCandidate()
6202 = TryCopyInitialization(*this, Args[ArgIdx], ParamTys[ArgIdx], in AddBuiltinCandidate()
6203 ArgIdx == 0 && IsAssignmentOperator, in AddBuiltinCandidate()
6208 if (Candidate.Conversions[ArgIdx].isBad()) { in AddBuiltinCandidate()
6954 for (unsigned ArgIdx = 0, N = Args.size(); ArgIdx != N; ++ArgIdx) { in addEqualEqualOrNotEqualMemberPointerOverloads() local
6956 MemPtr = CandidateTypes[ArgIdx].member_pointer_begin(), in addEqualEqualOrNotEqualMemberPointerOverloads()
6957 MemPtrEnd = CandidateTypes[ArgIdx].member_pointer_end(); in addEqualEqualOrNotEqualMemberPointerOverloads()
6997 for (unsigned ArgIdx = 0, N = Args.size(); ArgIdx != N; ++ArgIdx) { in addRelationalPointerOrEnumeralOverloads() local
6998 if (CandidateTypes[ArgIdx].enumeration_begin() != in addRelationalPointerOrEnumeralOverloads()
6999 CandidateTypes[ArgIdx].enumeration_end()) { in addRelationalPointerOrEnumeralOverloads()
7030 for (unsigned ArgIdx = 0, N = Args.size(); ArgIdx != N; ++ArgIdx) { in addRelationalPointerOrEnumeralOverloads() local
7032 Ptr = CandidateTypes[ArgIdx].pointer_begin(), in addRelationalPointerOrEnumeralOverloads()
7033 PtrEnd = CandidateTypes[ArgIdx].pointer_end(); in addRelationalPointerOrEnumeralOverloads()
7043 Enum = CandidateTypes[ArgIdx].enumeration_begin(), in addRelationalPointerOrEnumeralOverloads()
7044 EnumEnd = CandidateTypes[ArgIdx].enumeration_end(); in addRelationalPointerOrEnumeralOverloads()
7059 if (CandidateTypes[ArgIdx].hasNullPtrType()) { in addRelationalPointerOrEnumeralOverloads()
7238 for (unsigned ArgIdx = 0; ArgIdx < 2; ++ArgIdx) { in addAssignmentMemberPointerOrEnumeralOverloads() local
7240 Enum = CandidateTypes[ArgIdx].enumeration_begin(), in addAssignmentMemberPointerOrEnumeralOverloads()
7241 EnumEnd = CandidateTypes[ArgIdx].enumeration_end(); in addAssignmentMemberPointerOrEnumeralOverloads()
7250 MemPtr = CandidateTypes[ArgIdx].member_pointer_begin(), in addAssignmentMemberPointerOrEnumeralOverloads()
7251 MemPtrEnd = CandidateTypes[ArgIdx].member_pointer_end(); in addAssignmentMemberPointerOrEnumeralOverloads()
7612 for (unsigned ArgIdx = 0; ArgIdx < 2; ++ArgIdx) { in addConditionalOperatorOverloads() local
7614 Ptr = CandidateTypes[ArgIdx].pointer_begin(), in addConditionalOperatorOverloads()
7615 PtrEnd = CandidateTypes[ArgIdx].pointer_end(); in addConditionalOperatorOverloads()
7625 MemPtr = CandidateTypes[ArgIdx].member_pointer_begin(), in addConditionalOperatorOverloads()
7626 MemPtrEnd = CandidateTypes[ArgIdx].member_pointer_end(); in addConditionalOperatorOverloads()
7637 Enum = CandidateTypes[ArgIdx].enumeration_begin(), in addConditionalOperatorOverloads()
7638 EnumEnd = CandidateTypes[ArgIdx].enumeration_end(); in addConditionalOperatorOverloads()
7672 for (unsigned ArgIdx = 0, N = Args.size(); ArgIdx != N; ++ArgIdx) in AddBuiltinOperatorCandidates() local
7673 VisibleTypeConversionsQuals += CollectVRQualifiers(Context, Args[ArgIdx]); in AddBuiltinOperatorCandidates()
7678 for (unsigned ArgIdx = 0, N = Args.size(); ArgIdx != N; ++ArgIdx) { in AddBuiltinOperatorCandidates() local
7680 CandidateTypes[ArgIdx].AddTypesConvertedFrom(Args[ArgIdx]->getType(), in AddBuiltinOperatorCandidates()
7688 CandidateTypes[ArgIdx].hasNonRecordTypes(); in AddBuiltinOperatorCandidates()
7691 CandidateTypes[ArgIdx].hasArithmeticOrEnumeralTypes(); in AddBuiltinOperatorCandidates()
7928 for (unsigned ArgIdx = StartArg; ArgIdx < NumArgs; ++ArgIdx) { in isBetterOverloadCandidate() local
7930 Cand1.Conversions[ArgIdx], in isBetterOverloadCandidate()
7931 Cand2.Conversions[ArgIdx])) { in isBetterOverloadCandidate()
8835 for (unsigned ArgIdx = 0; ArgIdx < NoOperands; ++ArgIdx) { in NoteAmbiguousUserConversions() local
8836 const ImplicitConversionSequence &ICS = Cand->Conversions[ArgIdx]; in NoteAmbiguousUserConversions()
9027 unsigned ArgIdx = ConvIdx; in CompleteNonViableCandidate() local
9035 ArgIdx--; in CompleteNonViableCandidate()
9040 ArgIdx--; in CompleteNonViableCandidate()
9057 for (; ConvIdx != ConvCount; ++ConvIdx, ++ArgIdx) { in CompleteNonViableCandidate()
9058 if (ArgIdx < NumArgsInProto) { in CompleteNonViableCandidate()
9060 = TryCopyInitialization(S, Args[ArgIdx], Proto->getArgType(ArgIdx), in CompleteNonViableCandidate()
11381 for (unsigned ArgIdx = 0, e = Args.size(); ArgIdx != e; ++ArgIdx) in BuildCallToObjectOfClassType() local
11382 MethodArgs[ArgIdx + 1] = Args[ArgIdx]; in BuildCallToObjectOfClassType()
11641 for (unsigned ArgIdx = 0, N = Args.size(); ArgIdx != N; ++ArgIdx) { in BuildLiteralOperatorCall() local
11643 InitializedEntity::InitializeParameter(Context, FD->getParamDecl(ArgIdx)), in BuildLiteralOperatorCall()
11644 SourceLocation(), Args[ArgIdx]); in BuildLiteralOperatorCall()
11647 ConvArgs[ArgIdx] = InputInit.take(); in BuildLiteralOperatorCall()