/external/clang/lib/Sema/ |
SemaTemplateDeduction.cpp | 317 NonTypeTemplateParmDecl *NTTP, 322 assert(NTTP->getDepth() == 0 && 328 Deduced[NTTP->getIndex()], 331 Info.Param = NTTP; 332 Info.FirstArg = Deduced[NTTP->getIndex()]; 337 Deduced[NTTP->getIndex()] = Result; 347 NonTypeTemplateParmDecl *NTTP, 351 assert(NTTP->getDepth() == 0 && 358 Deduced[NTTP->getIndex()], 362 Info.Param = NTTP; [all...] |
SemaTemplateInstantiate.cpp | 714 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(ND)) 715 return std::make_pair(NTTP->getDepth(), NTTP->getIndex()); [all...] |
SemaTemplate.cpp | [all...] |
SemaTemplateVariadic.cpp | 522 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(ND)) 523 return std::make_pair(NTTP->getDepth(), NTTP->getIndex()); [all...] |
SemaCodeComplete.cpp | [all...] |
SemaTemplateInstantiateDecl.cpp | [all...] |
SemaOverload.cpp | [all...] |
/external/clang/lib/AST/ |
DeclTemplate.cpp | 42 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(P)) 43 if (NTTP->getType()->containsUnexpandedParameterPack()) 75 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P)) 76 if (NTTP->isExpandedParameterPack()) { 77 NumRequiredArgs += NTTP->getNumExpansionTypes(); 87 } else if (NonTypeTemplateParmDecl *NTTP 89 if (NTTP->hasDefaultArgument()) 108 else if (const NonTypeTemplateParmDecl *NTTP 110 return NTTP->getDepth(); 190 } else if (NonTypeTemplateParmDecl *NTTP [all...] |
DeclPrinter.cpp | 839 } else if (const NonTypeTemplateParmDecl *NTTP = 841 Out << NTTP->getType().getAsString(Policy); 843 if (NTTP->isParameterPack() && !isa<PackExpansionType>(NTTP->getType())) 846 if (IdentifierInfo *Name = NTTP->getIdentifier()) { 854 } else if (NTTP->hasDefaultArgument()) { 856 NTTP->getDefaultArgument()->printPretty(Out, 0, Policy, Indentation); [all...] |
StmtProfile.cpp | 1143 if (const NonTypeTemplateParmDecl *NTTP = 1145 ID.AddInteger(NTTP->getDepth()); 1146 ID.AddInteger(NTTP->getIndex()); 1147 ID.AddBoolean(NTTP->isParameterPack()); 1148 VisitType(NTTP->getType()); [all...] |
Expr.cpp | [all...] |
ASTContext.cpp | 549 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P)) { 551 ID.AddBoolean(NTTP->isParameterPack()); 552 ID.AddPointer(NTTP->getType().getCanonicalType().getAsOpaquePtr()); 553 if (NTTP->isExpandedParameterPack()) { 555 ID.AddInteger(NTTP->getNumExpansionTypes()); 556 for (unsigned I = 0, N = NTTP->getNumExpansionTypes(); I != N; ++I) { 557 QualType T = NTTP->getExpansionType(I); 598 else if (NonTypeTemplateParmDecl *NTTP 600 QualType T = getCanonicalType(NTTP->getType()); 603 if (NTTP->isExpandedParameterPack()) [all...] |
DeclBase.cpp | 140 if (const NonTypeTemplateParmDecl *NTTP 142 return NTTP->isParameterPack(); [all...] |
Decl.cpp | 246 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P)) { 248 if (!NTTP->isExpandedParameterPack()) { 249 if (!NTTP->getType()->isDependentType()) { 250 LV.merge(getLVForType(*NTTP->getType(), computation)); 256 for (unsigned i = 0, n = NTTP->getNumExpansionTypes(); i != n; ++i) { 257 QualType type = NTTP->getExpansionType(i); [all...] |
ItaniumMangle.cpp | [all...] |
/external/clang/tools/libclang/ |
CIndexUSRs.cpp | 697 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P)) { 698 if (NTTP->isParameterPack()) 701 VisitType(NTTP->getType());
|
CIndex.cpp | [all...] |