Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp537 if (const auto *TTPT = dyn_cast_or_null<TemplateTypeParmType>(Ty)) { in printEntryName() local
538 OS << "unnamed template type parameter " << TTPT->getIndex() << " "; in printEntryName()
539 if (TTPT->getDepth() > 0) in printEntryName()
540 OS << "(at depth " << TTPT->getDepth() << ") "; in printEntryName()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHeuristicResolver.cpp251 if (const auto *TTPT = dyn_cast_if_present<TemplateTypeParmType>(T.Type)) { in simplifyType() local
256 if (const auto *TTPD = TTPT->getDecl()) { in simplifyType()
H A DSemaTemplateVariadic.cpp374 if (auto *TTPT = Pack.first.dyn_cast<const TemplateTypeParmType *>()) { in DiagnoseUnexpandedParameterPacks() local
376 return TTPD && TTPD->getTypeForDecl() == TTPT; in DiagnoseUnexpandedParameterPacks()
H A DSemaCodeComplete.cpp5940 } else if (const auto *TTPT = in CodeCompleteMemberReferenceExpr() local
5944 for (const auto &R : ConceptInfo(*TTPT, S).members()) { in CodeCompleteMemberReferenceExpr()
6903 if (const auto *TTPT = in CodeCompleteQualifiedId() local
6905 for (const auto &R : ConceptInfo(*TTPT, S).members()) { in CodeCompleteQualifiedId()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DJSONNodeDumper.cpp766 const TemplateTypeParmType *TTPT) { in VisitTemplateTypeParmType() argument
767 JOS.attribute("depth", TTPT->getDepth()); in VisitTemplateTypeParmType()
768 JOS.attribute("index", TTPT->getIndex()); in VisitTemplateTypeParmType()
769 attributeOnlyIfTrue("isPack", TTPT->isParameterPack()); in VisitTemplateTypeParmType()
770 JOS.attribute("decl", createBareDeclRef(TTPT->getDecl())); in VisitTemplateTypeParmType()
H A DTypePrinter.cpp2337 if (auto *TTPT = Pattern->getAs<TemplateTypeParmType>()) { in isSubstitutedType() local
2338 if (TTPT->getDepth() == Depth && TTPT->getIndex() < Args.size() && in isSubstitutedType()
2339 Args[TTPT->getIndex()].getKind() == TemplateArgument::Type) { in isSubstitutedType()
2341 Args[TTPT->getIndex()].getAsType(), Pattern.getQualifiers()); in isSubstitutedType()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DJSONNodeDumper.h234 void VisitTemplateTypeParmType(const TemplateTypeParmType *TTPT);