/external/clang/lib/AST/ |
DeclTemplate.cpp | 58 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P)) 59 if (NTTP->isExpandedParameterPack()) { 60 NumRequiredArgs += NTTP->getNumExpansionTypes(); 70 } else if (NonTypeTemplateParmDecl *NTTP 72 if (NTTP->hasDefaultArgument()) 91 else if (const NonTypeTemplateParmDecl *NTTP 93 return NTTP->getDepth(); 174 } else if (NonTypeTemplateParmDecl *NTTP = 176 Expr *E = new (Context) DeclRefExpr(NTTP, /*enclosing*/ false, 177 NTTP->getType().getNonLValueExprType(Context) [all...] |
DeclPrinter.cpp | 776 } else if (const NonTypeTemplateParmDecl *NTTP = 778 Out << NTTP->getType().getAsString(Policy); 780 if (NTTP->isParameterPack() && !isa<PackExpansionType>(NTTP->getType())) 783 if (IdentifierInfo *Name = NTTP->getIdentifier()) { 791 } else if (NTTP->hasDefaultArgument()) { 793 NTTP->getDefaultArgument()->printPretty(Out, Context, 0, Policy, [all...] |
StmtProfile.cpp | 1069 if (const NonTypeTemplateParmDecl *NTTP = 1071 ID.AddInteger(NTTP->getDepth()); 1072 ID.AddInteger(NTTP->getIndex()); 1073 ID.AddBoolean(NTTP->isParameterPack()); 1074 VisitType(NTTP->getType());
|
Expr.cpp | 870 while (SubstNonTypeTemplateParmExpr *NTTP 872 CEE = NTTP->getReplacement()->IgnoreParenCasts(); [all...] |
ASTContext.cpp | 74 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P)) { 76 ID.AddBoolean(NTTP->isParameterPack()); 77 ID.AddPointer(NTTP->getType().getCanonicalType().getAsOpaquePtr()); 78 if (NTTP->isExpandedParameterPack()) { 80 ID.AddInteger(NTTP->getNumExpansionTypes()); 81 for (unsigned I = 0, N = NTTP->getNumExpansionTypes(); I != N; ++I) { 82 QualType T = NTTP->getExpansionType(I); 123 else if (NonTypeTemplateParmDecl *NTTP 125 QualType T = getCanonicalType(NTTP->getType()); 128 if (NTTP->isExpandedParameterPack()) [all...] |
Decl.cpp | 108 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P)) { 109 if (NTTP->isExpandedParameterPack()) { 110 for (unsigned I = 0, N = NTTP->getNumExpansionTypes(); I != N; ++I) { 111 QualType T = NTTP->getExpansionType(I); 118 if (!NTTP->getType()->isDependentType()) { 119 LV.merge(getLVForType(NTTP->getType())); [all...] |
DeclBase.cpp | 129 if (const NonTypeTemplateParmDecl *NTTP 131 return NTTP->isParameterPack(); [all...] |
ItaniumMangle.cpp | [all...] |
/external/clang/lib/Sema/ |
SemaTemplateDeduction.cpp | 288 NonTypeTemplateParmDecl *NTTP, 293 assert(NTTP->getDepth() == 0 && 298 Deduced[NTTP->getIndex()], 301 Info.Param = NTTP; 302 Info.FirstArg = Deduced[NTTP->getIndex()]; 307 Deduced[NTTP->getIndex()] = Result; 317 NonTypeTemplateParmDecl *NTTP, 321 assert(NTTP->getDepth() == 0 && 328 Deduced[NTTP->getIndex()], 332 Info.Param = NTTP; [all...] |
SemaTemplate.cpp | [all...] |
SemaTemplateInstantiate.cpp | 673 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(ND)) 674 return std::make_pair(NTTP->getDepth(), NTTP->getIndex()); [all...] |
SemaTemplateVariadic.cpp | 483 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(ND)) 484 return std::make_pair(NTTP->getDepth(), NTTP->getIndex());
|
SemaCodeComplete.cpp | [all...] |
SemaOverload.cpp | [all...] |
/external/clang/tools/libclang/ |
CIndexUSRs.cpp | 691 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P)) { 692 if (NTTP->isParameterPack()) 695 VisitType(NTTP->getType());
|
CIndex.cpp | [all...] |