/external/clang/lib/Sema/ |
SemaTemplateDeduction.cpp | 318 NonTypeTemplateParmDecl *NTTP, 323 assert(NTTP->getDepth() == 0 && 329 Deduced[NTTP->getIndex()], 332 Info.Param = NTTP; 333 Info.FirstArg = Deduced[NTTP->getIndex()]; 338 Deduced[NTTP->getIndex()] = Result; 348 NonTypeTemplateParmDecl *NTTP, 352 assert(NTTP->getDepth() == 0 && 359 Deduced[NTTP->getIndex()], 363 Info.Param = NTTP; [all...] |
SemaTemplateInstantiate.cpp | 630 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(ND)) 631 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(); 191 } else if (NonTypeTemplateParmDecl *NTTP [all...] |
DeclPrinter.cpp | 844 } else if (const NonTypeTemplateParmDecl *NTTP = 846 Out << NTTP->getType().getAsString(Policy); 848 if (NTTP->isParameterPack() && !isa<PackExpansionType>(NTTP->getType())) 851 if (IdentifierInfo *Name = NTTP->getIdentifier()) { 859 } else if (NTTP->hasDefaultArgument()) { 861 NTTP->getDefaultArgument()->printPretty(Out, nullptr, Policy, [all...] |
StmtProfile.cpp | 1242 if (const NonTypeTemplateParmDecl *NTTP [all...] |
Expr.cpp | [all...] |
ASTContext.cpp | 564 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P)) { 566 ID.AddBoolean(NTTP->isParameterPack()); 567 ID.AddPointer(NTTP->getType().getCanonicalType().getAsOpaquePtr()); 568 if (NTTP->isExpandedParameterPack()) { 570 ID.AddInteger(NTTP->getNumExpansionTypes()); 571 for (unsigned I = 0, N = NTTP->getNumExpansionTypes(); I != N; ++I) { 572 QualType T = NTTP->getExpansionType(I); 613 else if (NonTypeTemplateParmDecl *NTTP 615 QualType T = getCanonicalType(NTTP->getType()); 618 if (NTTP->isExpandedParameterPack()) [all...] |
DeclBase.cpp | 146 if (const NonTypeTemplateParmDecl *NTTP 148 return NTTP->isParameterPack(); [all...] |
Decl.cpp | 243 if (const NonTypeTemplateParmDecl *NTTP = 246 if (!NTTP->isExpandedParameterPack()) { 247 if (!NTTP->getType()->isDependentType()) { 248 LV.merge(getLVForType(*NTTP->getType(), computation)); 254 for (unsigned i = 0, n = NTTP->getNumExpansionTypes(); i != n; ++i) { 255 QualType type = NTTP->getExpansionType(i); [all...] |
ItaniumMangle.cpp | [all...] |
/external/clang/lib/Index/ |
USRGeneration.cpp | 694 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P)) { 695 if (NTTP->isParameterPack()) 698 VisitType(NTTP->getType());
|
/external/clang/tools/libclang/ |
CIndex.cpp | [all...] |