Home
last modified time | relevance | path

Searched refs:TypeConstraint (Results 1 – 20 of 20) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
DASTConcept.h170 class TypeConstraint : public ConceptReference {
176 TypeConstraint(NestedNameSpecifierLoc NNS, in TypeConstraint() function
DExprConcepts.h323 const TypeConstraint *getTypeConstraint() const;
DDeclTemplate.h1175 private llvm::TrailingObjects<TemplateTypeParmDecl, TypeConstraint> {
1303 if (const TypeConstraint *TC = getTypeConstraint())
1342 const TypeConstraint *getTypeConstraint() const {
1343 return TypeConstraintInitialized ? getTrailingObjects<TypeConstraint>() :
/freebsd-12-stable/contrib/llvm-project/clang/lib/Parse/
DParseTemplate.cpp766 TemplateIdAnnotation *TypeConstraint = nullptr; in ParseTypeParameter() local
774 TypeConstraint = in ParseTypeParameter()
776 assert(TypeConstraint->Kind == TNK_Concept_template && in ParseTypeParameter()
832 TypeConstraint != nullptr); in ParseTypeParameter()
834 if (TypeConstraint) { in ParseTypeParameter()
835 Actions.ActOnTypeConstraint(TypeConstraintSS, TypeConstraint, in ParseTypeParameter()
1294 bool TypeConstraint) { in AnnotateTemplateIdToken() argument
1296 assert((Tok.is(tok::less) || TypeConstraint) && in AnnotateTemplateIdToken()
1298 assert(!(TypeConstraint && AllowTypeAnnotation) && "type-constraint can't be " in AnnotateTemplateIdToken()
1300 assert((!TypeConstraint || TNK == TNK_Concept_template) && "type-constraint " in AnnotateTemplateIdToken()
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
DDeclTemplate.cpp72 if (const TypeConstraint *TC = TTP->getTypeConstraint()) { in TemplateParameterList()
518 if (const TypeConstraint *TC = TTP->getTypeConstraint()) in ProfileTemplateParameterList()
626 additionalSizeToAlloc<TypeConstraint>(HasTypeConstraint ? 1 : 0)) in Create()
645 additionalSizeToAlloc<TypeConstraint>(HasTypeConstraint ? 1 : 0)) in CreateDeserialized()
689 new (getTrailingObjects<TypeConstraint>()) TypeConstraint(NNS, NameInfo, in setTypeConstraint()
1457 void TypeConstraint::print(llvm::raw_ostream &OS, PrintingPolicy Policy) const { in print()
DExprConcepts.cpp135 const TypeConstraint *
DODRHash.cpp383 const TypeConstraint *TC = D->getTypeConstraint(); in VisitTemplateTypeParmDecl()
DDeclPrinter.cpp1738 if (const TypeConstraint *TC = TTP->getTypeConstraint()) in VisitTemplateTypeParmDecl()
DASTContext.cpp674 const TypeConstraint *TC = TTP->getTypeConstraint(); in Profile()
DASTImporter.cpp5379 if (const TypeConstraint *TC = D->getTypeConstraint()) { in VisitTemplateTypeParmDecl()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Serialization/
DASTWriterDecl.cpp1673 const TypeConstraint *TC = D->getTypeConstraint(); in VisitTemplateTypeParmDecl()
1701 Expr *TypeConstraint = D->getPlaceholderTypeConstraint(); in VisitNonTypeTemplateParmDecl() local
1702 Record.push_back(!!TypeConstraint); in VisitNonTypeTemplateParmDecl()
1710 if (TypeConstraint) in VisitNonTypeTemplateParmDecl()
1711 Record.AddStmt(TypeConstraint); in VisitNonTypeTemplateParmDecl()
DASTReaderDecl.cpp2923 const TypeConstraint *TXTC = TX->getTypeConstraint(); in isSameTemplateParameter()
2924 const TypeConstraint *TYTC = TY->getTypeConstraint(); in isSameTemplateParameter()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
DSemaConcept.cpp1064 const TypeConstraint *TC = in ReturnTypeRequirement()
DSemaCodeComplete.cpp4885 const TypeConstraint *ResultType = nullptr;
5031 const TypeConstraint *OuterType = nullptr;
5185 static QualType deduceType(const TypeConstraint &T) { in deduceType()
DSemaTemplateInstantiate.cpp2366 if (const TypeConstraint *TC = TTP->getTypeConstraint()) { in SubstParmVarDecl()
DSemaExprCXX.cpp8689 TemplateIdAnnotation *TypeConstraint, unsigned Depth) { in ActOnCompoundRequirement() argument
8710 if (BuildTypeConstraint(SS, TypeConstraint, TParam, in ActOnCompoundRequirement()
DSemaTemplateInstantiateDecl.cpp2667 if (const TypeConstraint *TC = D->getTypeConstraint()) { in VisitTemplateTypeParmDecl()
DSemaTemplate.cpp2614 if (const TypeConstraint *TC = TTP->getTypeConstraint()) in DiagnoseUnexpandedParameterPacks()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Parse/
DParser.h3448 bool TypeConstraint = false);
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Sema/
DSema.h7531 TemplateIdAnnotation *TypeConstraint,
7535 TemplateIdAnnotation *TypeConstraint,
7987 TemplateIdAnnotation *TypeConstraint, unsigned Depth);