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 43 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(P))
44 if (NTTP->getType()->containsUnexpandedParameterPack())
70 if (const auto *NTTP = dyn_cast<NonTypeTemplateParmDecl>(P))
71 if (NTTP->isExpandedParameterPack()) {
72 NumRequiredArgs += NTTP->getNumExpansionTypes();
82 } else if (const auto *NTTP = dyn_cast<NonTypeTemplateParmDecl>(P)) {
83 if (NTTP->hasDefaultArgument())
102 else if (const NonTypeTemplateParmDecl *NTTP
104 return NTTP->getDepth();
213 } else if (auto *NTTP = dyn_cast<NonTypeTemplateParmDecl>(Param))
    [all...]
DeclPrinter.cpp 928 } else if (const NonTypeTemplateParmDecl *NTTP =
931 if (IdentifierInfo *II = NTTP->getIdentifier())
933 printDeclType(NTTP->getType(), Name, NTTP->isParameterPack());
938 } else if (NTTP->hasDefaultArgument()) {
940 NTTP->getDefaultArgument()->printPretty(Out, nullptr, Policy,
    [all...]
Expr.cpp     [all...]
StmtProfile.cpp     [all...]
ASTContext.cpp 566 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P)) {
568 ID.AddBoolean(NTTP->isParameterPack());
569 ID.AddPointer(NTTP->getType().getCanonicalType().getAsOpaquePtr());
570 if (NTTP->isExpandedParameterPack()) {
572 ID.AddInteger(NTTP->getNumExpansionTypes());
573 for (unsigned I = 0, N = NTTP->getNumExpansionTypes(); I != N; ++I) {
574 QualType T = NTTP->getExpansionType(I);
615 else if (NonTypeTemplateParmDecl *NTTP
617 QualType T = getCanonicalType(NTTP->getType());
620 if (NTTP->isExpandedParameterPack())
    [all...]
DeclBase.cpp 172 if (const NonTypeTemplateParmDecl *NTTP
174 return NTTP->isParameterPack();
    [all...]
Decl.cpp 256 if (const auto *NTTP = dyn_cast<NonTypeTemplateParmDecl>(P)) {
258 if (!NTTP->isExpandedParameterPack()) {
259 if (!NTTP->getType()->isDependentType()) {
260 LV.merge(getLVForType(*NTTP->getType(), computation));
266 for (unsigned i = 0, n = NTTP->getNumExpansionTypes(); i != n; ++i) {
267 QualType type = NTTP->getExpansionType(i);
    [all...]
ItaniumMangle.cpp     [all...]
  /external/clang/lib/Sema/
SemaTemplateDeduction.cpp 290 Sema &S, NonTypeTemplateParmDecl *NTTP, const llvm::APSInt &Value,
293 assert(NTTP->getDepth() == 0 &&
299 Deduced[NTTP->getIndex()],
302 Info.Param = NTTP;
303 Info.FirstArg = Deduced[NTTP->getIndex()];
308 Deduced[NTTP->getIndex()] = Result;
318 NonTypeTemplateParmDecl *NTTP,
322 assert(NTTP->getDepth() == 0 &&
329 Deduced[NTTP->getIndex()],
333 Info.Param = NTTP;
    [all...]
SemaTemplateInstantiate.cpp 611 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(ND))
612 return std::make_pair(NTTP->getDepth(), NTTP->getIndex());
    [all...]
SemaTemplate.cpp     [all...]
SemaTemplateVariadic.cpp 531 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(ND))
532 return std::make_pair(NTTP->getDepth(), NTTP->getIndex());
    [all...]
SemaCodeComplete.cpp     [all...]
SemaTemplateInstantiateDecl.cpp     [all...]
SemaOverload.cpp     [all...]
  /external/clang/lib/Index/
USRGeneration.cpp 772 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P)) {
773 if (NTTP->isParameterPack())
776 VisitType(NTTP->getType());
  /external/clang/tools/libclang/
CIndex.cpp     [all...]

Completed in 271 milliseconds