Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTConcept.h24 class ConceptDecl; variable
118 ConceptDecl *NamedConcept;
127 ConceptDecl *NamedConcept, in ConceptReference()
152 ConceptDecl *getNamedConcept() const { in getNamedConcept()
175 ConceptDecl *NamedConcept, in TypeConstraint()
H A DExprConcepts.h61 NamedDecl *FoundDecl, ConceptDecl *NamedConcept,
66 ConceptSpecializationExpr(const ASTContext &C, ConceptDecl *NamedConcept,
79 NamedDecl *FoundDecl, ConceptDecl *NamedConcept,
85 Create(const ASTContext &C, ConceptDecl *NamedConcept,
H A DDeclTemplate.h56 class ConceptDecl; variable
1379 ConceptDecl *CD,
3262 class ConceptDecl : public TemplateDecl, public Mergeable<ConceptDecl> {
3266 ConceptDecl(DeclContext *DC, SourceLocation L, DeclarationName Name,
3271 static ConceptDecl *Create(ASTContext &C, DeclContext *DC,
3275 static ConceptDecl *CreateDeserialized(ASTContext &C, unsigned ID);
3290 ConceptDecl *getCanonicalDecl() override {
3291 return cast<ConceptDecl>(getPrimaryMergedDecl(this));
3293 const ConceptDecl *getCanonicalDecl() const {
3294 return const_cast<ConceptDecl *>(this)->getCanonicalDecl();
H A DTextNodeDumper.h380 void VisitConceptDecl(const ConceptDecl *D);
H A DASTContext.h95 class ConceptDecl; variable
1572 ConceptDecl *TypeConstraintConcept = nullptr,
1729 ConceptDecl *TypeConstraintConcept = nullptr,
H A DASTNodeTraverser.h624 void VisitConceptDecl(const ConceptDecl *D) { in VisitConceptDecl()
H A DTypeLoc.h38 class ConceptDecl; variable
2164 ConceptDecl *getNamedConcept() const { in getNamedConcept()
H A DType.h63 class ConceptDecl; variable
5110 ConceptDecl *TypeConstraintConcept;
5113 TypeDependence ExtraDependence, QualType Canon, ConceptDecl *CD,
5141 ConceptDecl *getTypeConstraintConcept() const {
5168 bool IsDependent, ConceptDecl *CD,
H A DTypeProperties.td453 const_cast<const ConceptDecl*>(node->getTypeConstraintConcept())) }];
H A DPropertiesBase.td106 SubclassPropertyType<"ConceptDecl", DeclRef>;
/llvm-project-15.0.7/clang/lib/AST/
H A DExprConcepts.cpp36 NamedDecl *FoundDecl, ConceptDecl *NamedConcept, in ConceptSpecializationExpr()
77 ConceptDecl *NamedConcept, in Create()
90 const ASTContext &C, ConceptDecl *NamedConcept, in ConceptSpecializationExpr()
115 ConceptDecl *NamedConcept, in Create()
H A DDeclTemplate.cpp691 DeclarationNameInfo NameInfo, NamedDecl *FoundDecl, ConceptDecl *CD, in setTypeConstraint()
1014 ConceptDecl *ConceptDecl::Create(ASTContext &C, DeclContext *DC, in Create()
1019 auto *TD = new (C, DC) ConceptDecl(DC, L, Name, Params, ConstraintExpr); in Create()
1025 ConceptDecl *ConceptDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
1027 ConceptDecl *Result = new (C, ID) ConceptDecl(nullptr, SourceLocation(), in CreateDeserialized()
H A DASTStructuralEquivalence.cpp1892 ConceptDecl *D1, in IsStructurallyEquivalent()
1893 ConceptDecl *D2) { in IsStructurallyEquivalent()
/llvm-project-15.0.7/clang/unittests/Tooling/RecursiveASTVisitorTests/
H A DConcept.cpp76 bool VisitConceptDecl(ConceptDecl *D) { in VisitConceptDecl()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCursorVisitor.h251 bool VisitConceptDecl(ConceptDecl *D);
H A DCXIndexDataConsumer.h412 bool handleConcept(const ConceptDecl *D);
H A DCXIndexDataConsumer.cpp150 bool VisitConceptDecl(const ConceptDecl *D) { in VisitConceptDecl()
891 bool CXIndexDataConsumer::handleConcept(const ConceptDecl *D) { in handleConcept()
/llvm-project-15.0.7/clang/lib/Index/
H A DUSRGeneration.cpp106 void VisitConceptDecl(const ConceptDecl *D);
1011 void USRGenerator::VisitConceptDecl(const ConceptDecl *D) { in VisitConceptDecl()
H A DIndexingContext.cpp263 isa<ObjCPropertyImplDecl>(D) || isa<ConceptDecl>(D)) in isDeclADefinition()
H A DIndexDecl.cpp734 bool VisitConceptDecl(const ConceptDecl *D) { in VisitConceptDecl()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplate.cpp305 isa<BuiltinTemplateDecl>(TD) || isa<ConceptDecl>(TD)); in isTemplateName()
308 isa<ConceptDecl>(TD) ? TNK_Concept_template : in isTemplateName()
1123 ConceptDecl *CD = cast<ConceptDecl>(TN.getAsTemplateDecl()); in BuildTypeConstraint()
1168 ConceptDecl *NamedConcept, SourceLocation LAngleLoc, in formImmediatelyDeclaredConstraint()
1219 ConceptDecl *NamedConcept, in AttachTypeConstraint()
3729 isa<VarTemplateDecl>(Template) || isa<ConceptDecl>(Template)) { in CheckTemplateIdType()
4743 ConceptDecl *NamedConcept, in CheckConceptTemplateId()
4809 if (R.getAsSingle<ConceptDecl>()) { in BuildTemplateIdExpr()
5790 << (isa<ConceptDecl>(Template) ? 1 : 0) in CheckTemplateArgumentList()
8697 ConceptDecl *NewDecl = ConceptDecl::Create(Context, DC, NameLoc, Name, in ActOnConceptDefinition()
[all …]
H A DSemaConcept.cpp725 ConceptDecl *Concept, ArrayRef<TemplateArgument> TemplateArgs, in substituteParameterMappings()
832 ConceptDecl *CD = CSE->getNamedConcept(); in fromConstraintExpr()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFindSymbols.cpp216 } else if (isa<ConceptDecl>(&ND)) { in getSymbolDetail()
H A DSemanticHighlighting.cpp139 if (isa<ConceptDecl>(D)) in kindForDecl()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp385 void VisitConceptDecl(ConceptDecl *D);
2189 void ASTDeclReader::VisitConceptDecl(ConceptDecl *D) { in VisitConceptDecl()
2481 ConceptDecl *NamedConcept = Record.readDeclAs<ConceptDecl>(); in VisitTemplateTypeParmDecl()
3714 D = ConceptDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()

12