Home
last modified time | relevance | path

Searched refs:getTypeConstraint (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/AST/
H A DExprConcepts.cpp136 concepts::ExprRequirement::ReturnTypeRequirement::getTypeConstraint() const { in getTypeConstraint() function in concepts::ExprRequirement::ReturnTypeRequirement
141 ->getTypeConstraint(); in getTypeConstraint()
H A DDeclTemplate.cpp73 if (const TypeConstraint *TC = TTP->getTypeConstraint()) { in TemplateParameterList()
108 const auto *TC = TTP->getTypeConstraint(); in containsUnexpandedParameterPack()
190 if (const auto *TC = TTP->getTypeConstraint()) in getAssociatedConstraints()
528 if (const TypeConstraint *TC = TTP->getTypeConstraint()) in ProfileTemplateParameterList()
H A DODRHash.cpp384 const TypeConstraint *TC = D->getTypeConstraint(); in VisitTemplateTypeParmDecl()
H A DDeclPrinter.cpp1752 if (const TypeConstraint *TC = TTP->getTypeConstraint()) in VisitTemplateTypeParmDecl()
H A DTextNodeDumper.cpp2099 if (const auto *TC = D->getTypeConstraint()) { in VisitTemplateTypeParmDecl()
H A DStmtProfile.cpp1605 Visit(RetReq.getTypeConstraint()->getImmediatelyDeclaredConstraint()); in VisitRequiresExpr()
H A DTypePrinter.cpp1438 if (auto *TC = D->getTypeConstraint()) { in printTemplateTypeParmBefore()
H A DStmtPrinter.cpp2508 RetReq.getTypeConstraint()->print(OS, Policy); in VisitRequiresExpr()
H A DASTContext.cpp680 const TypeConstraint *TC = TTP->getTypeConstraint(); in Profile()
795 if (const auto *TC = TTP->getTypeConstraint()) { in getCanonicalTemplateTemplateParmDecl()
6283 return isSameTypeConstraint(TX->getTypeConstraint(), in isSameTemplateParameter()
6284 TY->getTypeConstraint()); in isSameTemplateParameter()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/CodeGen/
H A DMLIRGen.cpp314 auto getTypeConstraint = [&]() -> Value { in genNonInitializerVar() local
336 return builder.create<pdl::OperandOp>(loc, mlirType, getTypeConstraint()); in genNonInitializerVar()
340 return builder.create<pdl::AttributeOp>(loc, getTypeConstraint()); in genNonInitializerVar()
356 getTypeConstraint()); in genNonInitializerVar()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTNodeTraverser.h246 .getTypeConstraint() in Visit()
599 if (const auto *TC = D->getTypeConstraint()) in VisitTemplateTypeParmDecl()
H A DExprConcepts.h325 const TypeConstraint *getTypeConstraint() const;
H A DDeclTemplate.h1333 if (const TypeConstraint *TC = getTypeConstraint())
1372 const TypeConstraint *getTypeConstraint() const {
1395 AC.push_back(getTypeConstraint()->getImmediatelyDeclaredConstraint());
H A DRecursiveASTVisitor.h608 TRY_TO(TraverseTypeConstraint(RetReq.getTypeConstraint()));
1929 if (const auto *TC = D->getTypeConstraint())
/llvm-project-15.0.7/mlir/lib/Conversion/PDLToPDLInterp/
H A DPredicateTree.cpp212 predList.emplace_back(pos, builder.getTypeConstraint(type)); in getTreePredicates()
215 predList.emplace_back(pos, builder.getTypeConstraint(typeAttr)); in getTreePredicates()
H A DPredicate.h704 Predicate getTypeConstraint(Attribute type) { in getTypeConstraint() function
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexDecl.cpp704 if (auto *C = TTP->getTypeConstraint()) in indexTemplateParameters()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp1993 RetReq.getTypeConstraint()->getImmediatelyDeclaredConstraint() in TransformExprRequirement()
2428 if (const TypeConstraint *TC = TTP->getTypeConstraint()) { in SubstParmVarDecl()
2434 if (Inst && !Inst->getTypeConstraint()) { in SubstParmVarDecl()
H A DSemaConcept.cpp1104 cast<TemplateTypeParmDecl>(TPL->getParam(0))->getTypeConstraint(); in ReturnTypeRequirement()
H A DSemaTemplate.cpp2289 if (const auto *TC = TTP->getTypeConstraint()) in transformTemplateParameter()
2619 if (const TypeConstraint *TC = TTP->getTypeConstraint()) in DiagnoseUnexpandedParameterPacks()
7804 if (const auto *TC = cast<TemplateTypeParmDecl>(New)->getTypeConstraint()) in MatchTemplateParameterKind()
7806 if (const auto *TC = cast<TemplateTypeParmDecl>(Old)->getTypeConstraint()) in MatchTemplateParameterKind()
H A DSemaTemplateInstantiateDecl.cpp2736 if (const TypeConstraint *TC = D->getTypeConstraint()) { in VisitTemplateTypeParmDecl()
2772 if (auto *TC = D->getTypeConstraint()) { in VisitTemplateTypeParmDecl()
H A DSemaCodeComplete.cpp3081 else if (const auto *TC = TTP->getTypeConstraint()) { in AddTemplateParameterChunks()
5279 ER->getReturnTypeRequirement().getTypeConstraint(); in believe()
H A DSemaExprCXX.cpp9008 cast<TemplateTypeParmDecl>(TPL->getParam(0))->getTypeConstraint() in BuildExprRequirement()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp764 if (const auto *TC = D->getTypeConstraint()) { in VisitTemplateTypeParmDecl()
1369 if (const auto *Cons = RTR.getTypeConstraint()) in VisitConceptRequirement()
1676 if (const auto *TC = TL.getDecl()->getTypeConstraint()) { in VisitTemplateTypeParmTypeLoc()
5358 if (const auto *TC = TTP->getTypeConstraint()) { in clang_getCursorDisplayName()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterDecl.cpp1683 const TypeConstraint *TC = D->getTypeConstraint(); in VisitTemplateTypeParmDecl()

12