Home
last modified time | relevance | path

Searched refs:ParamIdx (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp782 unsigned ArgIdx = 0, ParamIdx = 0; in DeduceTemplateArguments() local
783 for (; ParamIdx != NumParams; ++ParamIdx) { in DeduceTemplateArguments()
786 = dyn_cast<PackExpansionType>(Params[ParamIdx]); in DeduceTemplateArguments()
804 Params[ParamIdx], Args[ArgIdx], in DeduceTemplateArguments()
817 if (ParamIdx + 1 < NumParams) in DeduceTemplateArguments()
1853 unsigned ArgIdx = 0, ParamIdx = 0; in DeduceTemplateArguments() local
1854 for (; hasTemplateArgumentForDeduction(Params, ParamIdx, NumParams); in DeduceTemplateArguments()
1855 ++ParamIdx) { in DeduceTemplateArguments()
1856 if (!Params[ParamIdx].isPackExpansion()) { in DeduceTemplateArguments()
1873 Params[ParamIdx], Args[ArgIdx], in DeduceTemplateArguments()
[all …]
DSemaTemplate.cpp1798 unsigned ParamIdx = 0; in MatchTemplateParametersToScopeSpecifier() local
1866 if (ParamIdx < ParamLists.size()) { in MatchTemplateParametersToScopeSpecifier()
1867 if (ParamLists[ParamIdx]->size() == 0) { in MatchTemplateParametersToScopeSpecifier()
1868 if (CheckExplicitSpecialization(ParamLists[ParamIdx]->getSourceRange(), in MatchTemplateParametersToScopeSpecifier()
1881 if (ParamIdx < ParamLists.size()) { in MatchTemplateParametersToScopeSpecifier()
1882 if (ParamLists[ParamIdx]->size() > 0) { in MatchTemplateParametersToScopeSpecifier()
1884 Diag(ParamLists[ParamIdx]->getTemplateLoc(), in MatchTemplateParametersToScopeSpecifier()
1887 << SourceRange(ParamLists[ParamIdx]->getLAngleLoc(), in MatchTemplateParametersToScopeSpecifier()
1888 ParamLists[ParamIdx]->getRAngleLoc()) in MatchTemplateParametersToScopeSpecifier()
1895 ++ParamIdx; in MatchTemplateParametersToScopeSpecifier()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DNullabilityChecker.cpp703 unsigned ParamIdx = Param->getFunctionScopeIndex() + 1; in checkPreCall() local
714 OS << "Null passed to a callee that requires a non-null " << ParamIdx in checkPreCall()
715 << llvm::getOrdinalSuffix(ParamIdx) << " parameter"; in checkPreCall()
741 << ParamIdx << llvm::getOrdinalSuffix(ParamIdx) << " parameter"; in checkPreCall()
/external/clang/lib/Parse/
DParseDeclCXX.cpp1973 for (unsigned ParamIdx = 0; ParamIdx < FTI.NumParams; ++ParamIdx) { in HandleMemberFunctionDeclDelays() local
1974 auto Param = cast<ParmVarDecl>(FTI.Params[ParamIdx].Param); in HandleMemberFunctionDeclDelays()
1996 for (unsigned ParamIdx = 0; ParamIdx < FTI.NumParams; ++ParamIdx) in HandleMemberFunctionDeclDelays() local
1998 FTI.Params[ParamIdx].Param, FTI.Params[ParamIdx].DefaultArgTokens)); in HandleMemberFunctionDeclDelays()