Home
last modified time | relevance | path

Searched refs:ConceptDecl (Results 1 – 25 of 47) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTConcept.h29 class ConceptDecl; variable
143 ConceptDecl *NamedConcept;
151 ConceptDecl *NamedConcept, in ConceptReference()
161 NamedDecl *FoundDecl, ConceptDecl *NamedConcept,
200 ConceptDecl *getNamedConcept() const { in getNamedConcept()
255 ConceptDecl *getNamedConcept() const { return ConceptRef->getNamedConcept(); } in getNamedConcept()
H A DDeclTemplate.h57 class ConceptDecl; variable
3178 class ConceptDecl : public TemplateDecl, public Mergeable<ConceptDecl> {
3182 ConceptDecl(DeclContext *DC, SourceLocation L, DeclarationName Name,
3187 static ConceptDecl *Create(ASTContext &C, DeclContext *DC, SourceLocation L,
3191 static ConceptDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID);
3211 ConceptDecl *getCanonicalDecl() override {
3212 return cast<ConceptDecl>(getPrimaryMergedDecl(this));
3214 const ConceptDecl *getCanonicalDecl() const {
3215 return const_cast<ConceptDecl *>(this)->getCanonicalDecl();
H A DExprConcepts.h87 ConceptDecl *getNamedConcept() const { return ConceptRef->getNamedConcept(); } in getNamedConcept()
H A DTextNodeDumper.h407 void VisitConceptDecl(const ConceptDecl *D);
H A DASTContext.h66 class ConceptDecl; variable
1746 ConceptDecl *TypeConstraintConcept = nullptr,
1968 ConceptDecl *TypeConstraintConcept = nullptr,
H A DTypeLoc.h39 class ConceptDecl; variable
2287 ConceptDecl *getNamedConcept() const { in getNamedConcept()
H A DASTNodeTraverser.h756 void VisitConceptDecl(const ConceptDecl *D) { in VisitConceptDecl()
H A DType.h67 class ConceptDecl; variable
6740 ConceptDecl *TypeConstraintConcept;
6743 TypeDependence ExtraDependence, QualType Canon, ConceptDecl *CD,
6752 ConceptDecl *getTypeConstraintConcept() const {
6775 bool IsDependent, ConceptDecl *CD,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp214 static ConceptDecl *constructBufferConceptDecl(Sema &S, NamespaceDecl *NSD, in constructBufferConceptDecl()
250 ConceptDecl *CD = in constructBufferConceptDecl()
251 ConceptDecl::Create(Context, NSD->getDeclContext(), DeclLoc, DeclName, in constructBufferConceptDecl()
265 ConceptDecl *TypedBufferConcept = constructBufferConceptDecl( in defineHLSLTypesWithForwardDeclarations()
267 ConceptDecl *StructuredBufferConcept = constructBufferConceptDecl( in defineHLSLTypesWithForwardDeclarations()
H A DHLSLBuiltinTypeDeclBuilder.h66 ConceptDecl *CD);
H A DHLSLBuiltinTypeDeclBuilder.cpp65 constructConceptSpecializationExpr(Sema &S, ConceptDecl *CD);
67 BuiltinTypeDeclBuilder &finalizeTemplateArgs(ConceptDecl *CD = nullptr);
220 Sema &S, ConceptDecl *CD) { in constructConceptSpecializationExpr()
292 TemplateParameterListBuilder::finalizeTemplateArgs(ConceptDecl *CD) { in finalizeTemplateArgs()
773 ConceptDecl *CD = nullptr) { in addSimpleTemplateParams()
H A DSemaTemplate.cpp307 isa<BuiltinTemplateDecl>(TD) || isa<ConceptDecl>(TD)); in isTemplateName()
310 isa<ConceptDecl>(TD) ? TNK_Concept_template : in isTemplateName()
1074 ConceptDecl *CD = cast<ConceptDecl>(TN.getAsTemplateDecl()); in CheckTypeConstraint()
1118 ConceptDecl *CD = cast<ConceptDecl>(TN.getAsTemplateDecl()); in BuildTypeConstraint()
1146 ConceptDecl *NamedConcept, NamedDecl *FoundDecl, SourceLocation LAngleLoc, in formImmediatelyDeclaredConstraint()
1194 ConceptDecl *NamedConcept, NamedDecl *FoundDecl, in AttachTypeConstraint()
3589 isa<VarTemplateDecl>(Template) || isa<ConceptDecl>(Template)) { in CheckTemplateIdType()
4720 ConceptDecl *NamedConcept, in CheckConceptTemplateId()
4807 if (R.getAsSingle<ConceptDecl>()) { in BuildTemplateIdExpr()
4810 R.getAsSingle<ConceptDecl>(), TemplateArgs); in BuildTemplateIdExpr()
[all …]
H A DSemaConcept.cpp1441 ConceptDecl *Concept, in substituteParameterMappings()
1625 ConceptDecl *CD = CSE->getNamedConcept(); in fromConstraintExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclTemplate.cpp1113 ConceptDecl *ConceptDecl::Create(ASTContext &C, DeclContext *DC, in Create()
1118 auto *TD = new (C, DC) ConceptDecl(DC, L, Name, Params, ConstraintExpr); in Create()
1124 ConceptDecl *ConceptDecl::CreateDeserialized(ASTContext &C, GlobalDeclID ID) { in CreateDeserialized()
1125 ConceptDecl *Result = new (C, ID) ConceptDecl(nullptr, SourceLocation(), in CreateDeserialized()
1690 return cast<ConceptDecl>(D)->getTemplateParameters(); in getReplacedTemplateParameterList()
H A DASTConcept.cpp89 NamedDecl *FoundDecl, ConceptDecl *NamedConcept, in Create()
H A DASTStructuralEquivalence.cpp2366 ConceptDecl *D1, in IsStructurallyEquivalent()
2367 ConceptDecl *D2) { in IsStructurallyEquivalent()
H A DItaniumMangle.cpp532 void mangleTypeConstraint(const ConceptDecl *Concept,
1201 } else if (isa<BuiltinTemplateDecl>(ND) || isa<ConceptDecl>(ND)) { in mangleUnscopedTemplateName()
2091 const ConceptDecl *Concept, ArrayRef<TemplateArgument> Arguments) { in mangleTypeConstraint()
2317 if (isa<BuiltinTemplateDecl>(ND) || isa<ConceptDecl>(ND)) in mangleTemplatePrefix()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseTemplate.cpp140 Decl *ConceptDecl = ParseConceptDefinition(TemplateInfo, DeclEnd); in ParseTemplateDeclarationOrSpecialization() local
143 ParsingTemplateParams.complete(ConceptDecl); in ParseTemplateDeclarationOrSpecialization()
144 return Actions.ConvertDeclToDeclGroup(ConceptDecl); in ParseTemplateDeclarationOrSpecialization()
285 ConceptDecl *D = Actions.ActOnStartConceptDefinition( in ParseConceptDefinition()
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DDeclarationFragments.h364 static DeclarationFragments getFragmentsForConcept(const ConceptDecl *);
H A DExtractAPIVisitor.h102 bool VisitConceptDecl(const ConceptDecl *Decl);
818 bool ExtractAPIVisitorBase<Derived>::VisitConceptDecl(const ConceptDecl *Decl) { in VisitConceptDecl()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp104 void VisitConceptDecl(const ConceptDecl *D);
1099 void USRGenerator::VisitConceptDecl(const ConceptDecl *D) { in VisitConceptDecl()
H A DIndexingContext.cpp274 isa<ObjCPropertyImplDecl>(D) || isa<ConceptDecl>(D)) in isDeclADefinition()
H A DIndexDecl.cpp740 bool VisitConceptDecl(const ConceptDecl *D) { in VisitConceptDecl()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp829 const internal::VariadicDynCastAllOfMatcher<Decl, ConceptDecl> conceptDecl;
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h11447 ConceptDecl *NamedConcept, NamedDecl *FoundDecl,
11652 NamedDecl *FoundDecl, ConceptDecl *NamedConcept,
12269 ConceptDecl *ActOnStartConceptDefinition(
12273 ConceptDecl *ActOnFinishConceptDefinition(Scope *S, ConceptDecl *C,
12277 void CheckConceptRedefinition(ConceptDecl *NewDecl, LookupResult &Previous,
12279 bool CheckConceptUseInDefinition(ConceptDecl *Concept, SourceLocation Loc);

12