Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DAST.cpp822 if (const auto *TTPT = getFunctionPackType(Callee)) { in handleCall() local
825 return getUnderylingPackType(P) == TTPT; in handleCall()
927 if (const auto *TTPT = getFunctionPackType(D)) { in resolveForwardingParameters() local
929 auto IsExpandedPack = [TTPT](const ParmVarDecl *P) { in resolveForwardingParameters()
930 return getUnderylingPackType(P) == TTPT; in resolveForwardingParameters()
H A DDumpAST.cpp265 if (const auto *TTPT = dyn_cast<TemplateTypeParmType>(TL.getTypePtr())) in getDetail() local
266 return getDetail(TTPT->getDecl()); in getDetail()
H A DPreamble.cpp149 if (const auto *TTPT = in isLikelyForwardingFunction() local
152 if (FT->getTemplateParameters()->getDepth() == TTPT->getDepth()) { in isLikelyForwardingFunction()
H A DFindTarget.cpp457 void VisitTemplateTypeParmType(const TemplateTypeParmType *TTPT) { in add()
458 Outer.add(TTPT->getDecl(), Flags); in add()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DFrontendActions.cpp543 if (const auto *TTPT = dyn_cast_or_null<TemplateTypeParmType>(Ty)) { in printEntryName() local
544 OS << "unnamed template type parameter " << TTPT->getIndex() << " "; in printEntryName()
545 if (TTPT->getDepth() > 0) in printEntryName()
546 OS << "(at depth " << TTPT->getDepth() << ") "; in printEntryName()
/llvm-project-15.0.7/clang/lib/AST/
H A DJSONNodeDumper.cpp676 const TemplateTypeParmType *TTPT) { in VisitTemplateTypeParmType() argument
677 JOS.attribute("depth", TTPT->getDepth()); in VisitTemplateTypeParmType()
678 JOS.attribute("index", TTPT->getIndex()); in VisitTemplateTypeParmType()
679 attributeOnlyIfTrue("isPack", TTPT->isParameterPack()); in VisitTemplateTypeParmType()
680 JOS.attribute("decl", createBareDeclRef(TTPT->getDecl())); in VisitTemplateTypeParmType()
H A DTypePrinter.cpp1948 if (auto *TTPT = Pattern->getAs<TemplateTypeParmType>()) { in isSubstitutedType() local
1949 if (TTPT->getDepth() == Depth && TTPT->getIndex() < Args.size() && in isSubstitutedType()
1950 Args[TTPT->getIndex()].getKind() == TemplateArgument::Type) { in isSubstitutedType()
1952 Args[TTPT->getIndex()].getAsType(), Pattern.getQualifiers()); in isSubstitutedType()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp305 if (auto *TTPT = Pack.first.dyn_cast<const TemplateTypeParmType *>()) { in DiagnoseUnexpandedParameterPacks() local
307 return TTPD && TTPD->getTypeForDecl() == TTPT; in DiagnoseUnexpandedParameterPacks()
H A DSemaCodeComplete.cpp5632 } else if (const auto *TTPT = in CodeCompleteMemberReferenceExpr() local
5636 for (const auto &R : ConceptInfo(*TTPT, S).members()) { in CodeCompleteMemberReferenceExpr()
6561 if (const auto *TTPT = in CodeCompleteQualifiedId() local
6563 for (const auto &R : ConceptInfo(*TTPT, S).members()) { in CodeCompleteQualifiedId()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DJSONNodeDumper.h222 void VisitTemplateTypeParmType(const TemplateTypeParmType *TTPT);