/external/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 730 unsigned ArgIdx = 0, ParamIdx = 0; in DeduceTemplateArguments() local 739 if (ArgIdx >= NumArgs) in DeduceTemplateArguments() 742 if (isa<PackExpansionType>(Args[ArgIdx])) { in DeduceTemplateArguments() 752 Params[ParamIdx], Args[ArgIdx], in DeduceTemplateArguments() 758 ++ArgIdx; in DeduceTemplateArguments() 805 for (; ArgIdx < NumArgs; ++ArgIdx) { in DeduceTemplateArguments() 811 Args[ArgIdx], Info, Deduced, in DeduceTemplateArguments() 838 if (ArgIdx < NumArgs) in DeduceTemplateArguments() 1751 unsigned &ArgIdx, in hasTemplateArgumentForDeduction() argument 1753 if (ArgIdx == NumArgs) in hasTemplateArgumentForDeduction() [all …]
|
D | SemaOverload.cpp | 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() [all …]
|
D | SemaLookup.cpp | 2225 for (unsigned ArgIdx = 0; ArgIdx != Args.size(); ++ArgIdx) { in FindAssociatedClassesAndNamespaces() local 2226 Expr *Arg = Args[ArgIdx]; in FindAssociatedClassesAndNamespaces() 2685 for (unsigned ArgIdx = 0; ArgIdx != ArgTys.size(); ++ArgIdx) { in LookupLiteralOperator() local 2686 QualType ParamTy = FD->getParamDecl(ArgIdx)->getType(); in LookupLiteralOperator() 2687 if (!Context.hasSameUnqualifiedType(ArgTys[ArgIdx], ParamTy)) { in LookupLiteralOperator()
|
D | SemaChecking.cpp | 733 for (unsigned ArgIdx = NumProtoArgs; ArgIdx < Args.size(); ++ArgIdx) { in checkCall() local 735 if (const Expr *Arg = Args[ArgIdx]) { in checkCall() 736 if (CheckedVarArgs.empty() || !CheckedVarArgs[ArgIdx]) in checkCall() 3547 for (unsigned ArgIdx = 0; ArgIdx != LastArg; ++ArgIdx) { in CheckMemaccessArguments() local 3548 const Expr *Dest = Call->getArg(ArgIdx)->IgnoreParenImpCasts(); in CheckMemaccessArguments() 3549 SourceRange ArgRange = Call->getArg(ArgIdx)->getSourceRange(); in CheckMemaccessArguments() 3627 << FnName << SizeOfArgTy << ArgIdx in CheckMemaccessArguments() 3640 if (ArgIdx != 0 || BId == Builtin::BImemcmp) { in CheckMemaccessArguments() 3652 << (BId == Builtin::BImemcmp ? ArgIdx + 2 : ArgIdx) in CheckMemaccessArguments() 3661 << ArgIdx << FnName << PointeeTy in CheckMemaccessArguments()
|
D | SemaTemplate.cpp | 3522 unsigned ArgIdx = 0, NumArgs = TemplateArgs.size(); in CheckTemplateArgumentList() local 3542 } else if (ArgIdx == NumArgs && !PartialTemplateArgs) { in CheckTemplateArgumentList() 3556 if (ArgIdx < NumArgs) { in CheckTemplateArgumentList() 3558 if (CheckTemplateArgument(*Param, TemplateArgs[ArgIdx], Template, in CheckTemplateArgumentList() 3564 ++ArgIdx; in CheckTemplateArgumentList() 3581 if (TemplateArgs[ArgIdx-1].getArgument().isPackExpansion()) { in CheckTemplateArgumentList() 3595 while (ArgIdx < NumArgs) { in CheckTemplateArgumentList() 3597 ArgumentPack.push_back(TemplateArgs[ArgIdx].getArgument()); in CheckTemplateArgumentList() 3599 Converted.push_back(TemplateArgs[ArgIdx].getArgument()); in CheckTemplateArgumentList() 3600 ++ArgIdx; in CheckTemplateArgumentList() [all …]
|
D | SemaDeclAttr.cpp | 2951 uint64_t ArgIdx; in handleFormatArgAttr() local 2953 Attr.getLoc(), 1, IdxExpr, ArgIdx)) in handleFormatArgAttr() 2957 QualType Ty = getFunctionOrMethodArgType(D, ArgIdx); in handleFormatArgAttr() 3158 unsigned ArgIdx = Idx.getZExtValue() - 1; in handleFormatAttr() local 3161 if (ArgIdx == 0) { in handleFormatAttr() 3167 ArgIdx--; in handleFormatAttr() 3171 QualType Ty = getFunctionOrMethodArgType(D, ArgIdx); in handleFormatAttr()
|
D | SemaTemplateInstantiateDecl.cpp | 2869 for (unsigned ArgIdx = 0; ArgIdx != *NumExpansions; ++ArgIdx) { in InstantiateExceptionSpec() local 2870 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(SemaRef, ArgIdx); in InstantiateExceptionSpec()
|
D | SemaExpr.cpp | 1451 for (unsigned ArgIdx = 0; ArgIdx != Args.size(); ++ArgIdx) { in BuildCookedLiteralOperatorCall() local 1452 ArgTy[ArgIdx] = Args[ArgIdx]->getType(); in BuildCookedLiteralOperatorCall() 1453 if (ArgTy[ArgIdx]->isArrayType()) in BuildCookedLiteralOperatorCall() 1454 ArgTy[ArgIdx] = S.Context.getArrayDecayedType(ArgTy[ArgIdx]); in BuildCookedLiteralOperatorCall()
|
/external/clang/tools/libclang/ |
D | CXComment.cpp | 171 unsigned ArgIdx) { in clang_InlineCommandComment_getArgText() argument 173 if (!ICC || ArgIdx >= ICC->getNumArgs()) in clang_InlineCommandComment_getArgText() 176 return cxstring::createRef(ICC->getArgText(ArgIdx)); in clang_InlineCommandComment_getArgText() 237 unsigned ArgIdx) { in clang_BlockCommandComment_getArgText() argument 239 if (!BCC || ArgIdx >= BCC->getNumArgs()) in clang_BlockCommandComment_getArgText() 242 return cxstring::createRef(BCC->getArgText(ArgIdx)); in clang_BlockCommandComment_getArgText()
|
/external/llvm/lib/IR/ |
D | Function.cpp | 72 unsigned ArgIdx = 0; in getArgNo() local 74 ++ArgIdx; in getArgNo() 76 return ArgIdx; in getArgNo()
|
/external/clang/lib/AST/ |
D | StmtPrinter.cpp | 1226 for (unsigned ArgIdx = 1; ArgIdx < Node->getNumArgs(); ++ArgIdx) { in VisitCXXOperatorCallExpr() local 1227 if (ArgIdx > 1) in VisitCXXOperatorCallExpr() 1229 if (!isa<CXXDefaultArgExpr>(Node->getArg(ArgIdx))) in VisitCXXOperatorCallExpr() 1230 PrintExpr(Node->getArg(ArgIdx)); in VisitCXXOperatorCallExpr()
|
D | Type.cpp | 1684 for (unsigned ArgIdx = getNumArgs(); ArgIdx; --ArgIdx) in isTemplateVariadic() local 1685 if (isa<PackExpansionType>(getArgType(ArgIdx - 1))) in isTemplateVariadic()
|
D | Decl.cpp | 2437 unsigned ArgIdx = NumRequiredArgs; in getMinRequiredArguments() local 2438 while (ArgIdx > 0) { in getMinRequiredArguments() 2439 if (getParamDecl(ArgIdx - 1)->isParameterPack()) in getMinRequiredArguments() 2440 NumRequiredArgs = ArgIdx; in getMinRequiredArguments() 2442 --ArgIdx; in getMinRequiredArguments()
|
D | ASTContext.cpp | 7369 for (unsigned ArgIdx = 0, NumArgs = FromFunctionType->getNumArgs(); in FunctionTypesMatchOnNSConsumedAttrs() local 7370 ArgIdx != NumArgs; ++ArgIdx) { in FunctionTypesMatchOnNSConsumedAttrs() 7371 if (FromEPI.ConsumedArguments[ArgIdx] != in FunctionTypesMatchOnNSConsumedAttrs() 7372 ToEPI.ConsumedArguments[ArgIdx]) in FunctionTypesMatchOnNSConsumedAttrs()
|
/external/llvm/lib/Target/R600/ |
D | SIISelLowering.cpp | 205 for (unsigned i = 0, e = Ins.size(), ArgIdx = 0; i != e; ++i) { in LowerFormalArguments() local 213 CCValAssign &VA = ArgLocs[ArgIdx++]; in LowerFormalArguments() 251 Reg = ArgLocs[ArgIdx++].getLocReg(); in LowerFormalArguments()
|
/external/clang/include/clang-c/ |
D | Index.h | 3786 unsigned ArgIdx); 3856 unsigned ArgIdx);
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 5744 unsigned ArgIdx, in OriginalCallArg() 5746 : OriginalParamType(OriginalParamType), ArgIdx(ArgIdx), in OriginalCallArg() 5750 unsigned ArgIdx; member
|