Lines Matching refs:ArgIdx
2307 for (unsigned ArgIdx = 0, NumArgs = FromFunctionType->getNumArgs();
2308 ArgIdx != NumArgs; ++ArgIdx) {
2309 QualType FromArgType = FromFunctionType->getArgType(ArgIdx);
2310 QualType ToArgType = ToFunctionType->getArgType(ArgIdx);
2468 for (unsigned ArgIdx = 0, NumArgs = FromFunctionType->getNumArgs();
2469 ArgIdx != NumArgs; ++ArgIdx) {
2471 QualType FromArgType = FromFunctionType->getArgType(ArgIdx);
2472 QualType ToArgType = ToFunctionType->getArgType(ArgIdx);
5395 for (unsigned ArgIdx = 0; ArgIdx < Args.size(); ++ArgIdx) {
5396 if (ArgIdx < NumArgsInProto) {
5401 QualType ParamType = Proto->getArgType(ArgIdx);
5402 Candidate.Conversions[ArgIdx]
5403 = TryCopyInitialization(*this, Args[ArgIdx], ParamType,
5409 if (Candidate.Conversions[ArgIdx].isBad()) {
5418 Candidate.Conversions[ArgIdx].setEllipsis();
5568 for (unsigned ArgIdx = 0; ArgIdx < Args.size(); ++ArgIdx) {
5569 if (ArgIdx < NumArgsInProto) {
5574 QualType ParamType = Proto->getArgType(ArgIdx);
5575 Candidate.Conversions[ArgIdx + 1]
5576 = TryCopyInitialization(*this, Args[ArgIdx], ParamType,
5581 if (Candidate.Conversions[ArgIdx + 1].isBad()) {
5590 Candidate.Conversions[ArgIdx + 1].setEllipsis();
5955 for (unsigned ArgIdx = 0; ArgIdx < Args.size(); ++ArgIdx) {
5956 if (ArgIdx < NumArgsInProto) {
5961 QualType ParamType = Proto->getArgType(ArgIdx);
5962 Candidate.Conversions[ArgIdx + 1]
5963 = TryCopyInitialization(*this, Args[ArgIdx], ParamType,
5968 if (Candidate.Conversions[ArgIdx + 1].isBad()) {
5977 Candidate.Conversions[ArgIdx + 1].setEllipsis();
6054 for (unsigned ArgIdx = 0; ArgIdx < NumArgs; ++ArgIdx)
6055 Candidate.BuiltinTypes.ParamTypes[ArgIdx] = ParamTys[ArgIdx];
6061 for (unsigned ArgIdx = 0; ArgIdx < NumArgs; ++ArgIdx) {
6074 if (ArgIdx < NumContextualBoolArguments) {
6075 assert(ParamTys[ArgIdx] == Context.BoolTy &&
6077 Candidate.Conversions[ArgIdx]
6078 = TryContextuallyConvertToBool(*this, Args[ArgIdx]);
6080 Candidate.Conversions[ArgIdx]
6081 = TryCopyInitialization(*this, Args[ArgIdx], ParamTys[ArgIdx],
6082 ArgIdx == 0 && IsAssignmentOperator,
6087 if (Candidate.Conversions[ArgIdx].isBad()) {
6832 for (unsigned ArgIdx = 0; ArgIdx < NumArgs; ++ArgIdx) {
6834 MemPtr = CandidateTypes[ArgIdx].member_pointer_begin(),
6835 MemPtrEnd = CandidateTypes[ArgIdx].member_pointer_end();
6876 for (unsigned ArgIdx = 0; ArgIdx < NumArgs; ++ArgIdx) {
6877 if (CandidateTypes[ArgIdx].enumeration_begin() !=
6878 CandidateTypes[ArgIdx].enumeration_end()) {
6909 for (unsigned ArgIdx = 0; ArgIdx < NumArgs; ++ArgIdx) {
6911 Ptr = CandidateTypes[ArgIdx].pointer_begin(),
6912 PtrEnd = CandidateTypes[ArgIdx].pointer_end();
6923 Enum = CandidateTypes[ArgIdx].enumeration_begin(),
6924 EnumEnd = CandidateTypes[ArgIdx].enumeration_end();
6940 if (CandidateTypes[ArgIdx].hasNullPtrType()) {
7120 for (unsigned ArgIdx = 0; ArgIdx < 2; ++ArgIdx) {
7122 Enum = CandidateTypes[ArgIdx].enumeration_begin(),
7123 EnumEnd = CandidateTypes[ArgIdx].enumeration_end();
7133 MemPtr = CandidateTypes[ArgIdx].member_pointer_begin(),
7134 MemPtrEnd = CandidateTypes[ArgIdx].member_pointer_end();
7501 for (unsigned ArgIdx = 0; ArgIdx < 2; ++ArgIdx) {
7503 Ptr = CandidateTypes[ArgIdx].pointer_begin(),
7504 PtrEnd = CandidateTypes[ArgIdx].pointer_end();
7514 MemPtr = CandidateTypes[ArgIdx].member_pointer_begin(),
7515 MemPtrEnd = CandidateTypes[ArgIdx].member_pointer_end();
7526 Enum = CandidateTypes[ArgIdx].enumeration_begin(),
7527 EnumEnd = CandidateTypes[ArgIdx].enumeration_end();
7561 for (unsigned ArgIdx = 0; ArgIdx < NumArgs; ++ArgIdx)
7562 VisibleTypeConversionsQuals += CollectVRQualifiers(Context, Args[ArgIdx]);
7567 for (unsigned ArgIdx = 0; ArgIdx < NumArgs; ++ArgIdx) {
7569 CandidateTypes[ArgIdx].AddTypesConvertedFrom(Args[ArgIdx]->getType(),
7577 CandidateTypes[ArgIdx].hasNonRecordTypes();
7580 CandidateTypes[ArgIdx].hasArithmeticOrEnumeralTypes();
7817 for (unsigned ArgIdx = StartArg; ArgIdx < NumArgs; ++ArgIdx) {
7819 Cand1.Conversions[ArgIdx],
7820 Cand2.Conversions[ArgIdx])) {
8653 for (unsigned ArgIdx = 0; ArgIdx < NoOperands; ++ArgIdx) {
8654 const ImplicitConversionSequence &ICS = Cand->Conversions[ArgIdx];
8846 unsigned ArgIdx = ConvIdx;
8854 ArgIdx--;
8859 ArgIdx--;
8876 for (; ConvIdx != ConvCount; ++ConvIdx, ++ArgIdx) {
8877 if (ArgIdx < NumArgsInProto) {
8879 = TryCopyInitialization(S, Args[ArgIdx], Proto->getArgType(ArgIdx),
11107 for (unsigned ArgIdx = 0; ArgIdx < NumArgs; ++ArgIdx)
11108 MethodArgs[ArgIdx + 1] = Args[ArgIdx];
11355 for (unsigned ArgIdx = 0; ArgIdx != Args.size(); ++ArgIdx) {
11357 InitializedEntity::InitializeParameter(Context, FD->getParamDecl(ArgIdx)),
11358 SourceLocation(), Args[ArgIdx]);
11361 ConvArgs[ArgIdx] = InputInit.take();