HomeSort by relevance Sort by last modified time
    Searched refs:NTTP (Results 1 - 17 of 17) sorted by null

  /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 819 } else if (const NonTypeTemplateParmDecl *NTTP =
821 Out << NTTP->getType().getAsString(Policy);
823 if (NTTP->isParameterPack() && !isa<PackExpansionType>(NTTP->getType()))
826 if (IdentifierInfo *Name = NTTP->getIdentifier()) {
834 } else if (NTTP->hasDefaultArgument()) {
836 NTTP->getDefaultArgument()->printPretty(Out, 0, Policy, Indentation);
    [all...]
StmtProfile.cpp 1082 if (const NonTypeTemplateParmDecl *NTTP =
1084 ID.AddInteger(NTTP->getDepth());
1085 ID.AddInteger(NTTP->getIndex());
1086 ID.AddBoolean(NTTP->isParameterPack());
1087 VisitType(NTTP->getType());
Expr.cpp     [all...]
ASTContext.cpp 480 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P)) {
482 ID.AddBoolean(NTTP->isParameterPack());
483 ID.AddPointer(NTTP->getType().getCanonicalType().getAsOpaquePtr());
484 if (NTTP->isExpandedParameterPack()) {
486 ID.AddInteger(NTTP->getNumExpansionTypes());
487 for (unsigned I = 0, N = NTTP->getNumExpansionTypes(); I != N; ++I) {
488 QualType T = NTTP->getExpansionType(I);
529 else if (NonTypeTemplateParmDecl *NTTP
531 QualType T = getCanonicalType(NTTP->getType());
534 if (NTTP->isExpandedParameterPack())
    [all...]
Decl.cpp 233 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P)) {
235 if (!NTTP->isExpandedParameterPack()) {
236 if (!NTTP->getType()->isDependentType()) {
237 LV.merge(NTTP->getType()->getLinkageAndVisibility());
243 for (unsigned i = 0, n = NTTP->getNumExpansionTypes(); i != n; ++i) {
244 QualType type = NTTP->getExpansionType(i);
    [all...]
DeclBase.cpp 139 if (const NonTypeTemplateParmDecl *NTTP
141 return NTTP->isParameterPack();
    [all...]
ItaniumMangle.cpp     [all...]
  /external/clang/lib/Sema/
SemaTemplateDeduction.cpp 313 NonTypeTemplateParmDecl *NTTP,
318 assert(NTTP->getDepth() == 0 &&
324 Deduced[NTTP->getIndex()],
327 Info.Param = NTTP;
328 Info.FirstArg = Deduced[NTTP->getIndex()];
333 Deduced[NTTP->getIndex()] = Result;
343 NonTypeTemplateParmDecl *NTTP,
347 assert(NTTP->getDepth() == 0 &&
354 Deduced[NTTP->getIndex()],
358 Info.Param = NTTP;
    [all...]
SemaTemplateInstantiate.cpp 663 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(ND))
664 return std::make_pair(NTTP->getDepth(), NTTP->getIndex());
    [all...]
SemaTemplate.cpp     [all...]
SemaTemplateVariadic.cpp 521 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(ND))
522 return std::make_pair(NTTP->getDepth(), NTTP->getIndex());
SemaCodeComplete.cpp     [all...]
SemaTemplateInstantiateDecl.cpp     [all...]
SemaOverload.cpp     [all...]
  /external/clang/tools/libclang/
CIndexUSRs.cpp 698 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P)) {
699 if (NTTP->isParameterPack())
702 VisitType(NTTP->getType());
CIndex.cpp     [all...]

Completed in 325 milliseconds