Home
last modified time | relevance | path

Searched refs:TTPT (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp489 if (const auto *TTPT = dyn_cast_or_null<TemplateTypeParmType>(Ty)) { in printEntryName() local
490 OS << "unnamed template type parameter " << TTPT->getIndex() << " "; in printEntryName()
491 if (TTPT->getDepth() > 0) in printEntryName()
492 OS << "(at depth " << TTPT->getDepth() << ") "; in printEntryName()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DJSONNodeDumper.cpp731 const TemplateTypeParmType *TTPT) { in VisitTemplateTypeParmType() argument
732 JOS.attribute("depth", TTPT->getDepth()); in VisitTemplateTypeParmType()
733 JOS.attribute("index", TTPT->getIndex()); in VisitTemplateTypeParmType()
734 attributeOnlyIfTrue("isPack", TTPT->isParameterPack()); in VisitTemplateTypeParmType()
735 JOS.attribute("decl", createBareDeclRef(TTPT->getDecl())); in VisitTemplateTypeParmType()
H A DTypePrinter.cpp2052 if (auto *TTPT = Pattern->getAs<TemplateTypeParmType>()) { in isSubstitutedType() local
2053 if (TTPT->getDepth() == Depth && TTPT->getIndex() < Args.size() && in isSubstitutedType()
2054 Args[TTPT->getIndex()].getKind() == TemplateArgument::Type) { in isSubstitutedType()
2056 Args[TTPT->getIndex()].getAsType(), Pattern.getQualifiers()); in isSubstitutedType()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp306 if (auto *TTPT = Pack.first.dyn_cast<const TemplateTypeParmType *>()) { in DiagnoseUnexpandedParameterPacks() local
308 return TTPD && TTPD->getTypeForDecl() == TTPT; in DiagnoseUnexpandedParameterPacks()
H A DSemaCodeComplete.cpp5764 } else if (const auto *TTPT = in CodeCompleteMemberReferenceExpr() local
5768 for (const auto &R : ConceptInfo(*TTPT, S).members()) { in CodeCompleteMemberReferenceExpr()
6702 if (const auto *TTPT = in CodeCompleteQualifiedId() local
6704 for (const auto &R : ConceptInfo(*TTPT, S).members()) { in CodeCompleteQualifiedId()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DJSONNodeDumper.h231 void VisitTemplateTypeParmType(const TemplateTypeParmType *TTPT);