Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTConcept.h28 class ConceptDecl; variable
143 ConceptDecl *NamedConcept;
151 ConceptDecl *NamedConcept, in ConceptReference()
161 NamedDecl *FoundDecl, ConceptDecl *NamedConcept,
200 ConceptDecl *getNamedConcept() const { in getNamedConcept()
251 ConceptDecl *getNamedConcept() const { return ConceptRef->getNamedConcept(); } in getNamedConcept()
H A DDeclTemplate.h57 class ConceptDecl; variable
3140 class ConceptDecl : public TemplateDecl, public Mergeable<ConceptDecl> {
3144 ConceptDecl(DeclContext *DC, SourceLocation L, DeclarationName Name,
3149 static ConceptDecl *Create(ASTContext &C, DeclContext *DC,
3153 static ConceptDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID);
3168 ConceptDecl *getCanonicalDecl() override {
3169 return cast<ConceptDecl>(getPrimaryMergedDecl(this));
3171 const ConceptDecl *getCanonicalDecl() const {
3172 return const_cast<ConceptDecl *>(this)->getCanonicalDecl();
H A DTextNodeDumper.h406 void VisitConceptDecl(const ConceptDecl *D);
H A DASTContext.h64 class ConceptDecl; variable
1627 ConceptDecl *TypeConstraintConcept = nullptr,
1790 ConceptDecl *TypeConstraintConcept = nullptr,
H A DASTNodeTraverser.h720 void VisitConceptDecl(const ConceptDecl *D) { in VisitConceptDecl()
H A DTypeLoc.h39 class ConceptDecl; variable
2231 ConceptDecl *getNamedConcept() const { in getNamedConcept()
H A DType.h65 class ConceptDecl; variable
6371 ConceptDecl *TypeConstraintConcept;
6374 TypeDependence ExtraDependence, QualType Canon, ConceptDecl *CD,
6383 ConceptDecl *getTypeConstraintConcept() const {
6406 bool IsDependent, ConceptDecl *CD,
H A DTypeProperties.td508 const_cast<const ConceptDecl*>(node->getTypeConstraintConcept())) }];
H A DPropertiesBase.td106 SubclassPropertyType<"ConceptDecl", DeclRef>;
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclTemplate.cpp1069 ConceptDecl *ConceptDecl::Create(ASTContext &C, DeclContext *DC, in Create()
1074 auto *TD = new (C, DC) ConceptDecl(DC, L, Name, Params, ConstraintExpr); in Create()
1080 ConceptDecl *ConceptDecl::CreateDeserialized(ASTContext &C, GlobalDeclID ID) { in CreateDeserialized()
1081 ConceptDecl *Result = new (C, ID) ConceptDecl(nullptr, SourceLocation(), in CreateDeserialized()
1716 return cast<ConceptDecl>(D)->getTemplateParameters(); in getReplacedTemplateParameterList()
H A DASTConcept.cpp91 NamedDecl *FoundDecl, ConceptDecl *NamedConcept, in Create()
H A DASTStructuralEquivalence.cpp2097 ConceptDecl *D1, in IsStructurallyEquivalent()
2098 ConceptDecl *D2) { in IsStructurallyEquivalent()
H A DItaniumMangle.cpp538 void mangleTypeConstraint(const ConceptDecl *Concept,
1183 } else if (isa<BuiltinTemplateDecl>(ND) || isa<ConceptDecl>(ND)) { in mangleUnscopedTemplateName()
2059 const ConceptDecl *Concept, ArrayRef<TemplateArgument> Arguments) { in mangleTypeConstraint()
2274 if (isa<BuiltinTemplateDecl>(ND) || isa<ConceptDecl>(ND)) in mangleTemplatePrefix()
H A DDeclPrinter.cpp1257 else if (const auto *Concept = dyn_cast<ConceptDecl>(D)) { in VisitTemplateDecl()
H A DASTContext.cpp6187 bool IsPack, ConceptDecl *TypeConstraintConcept, in getAutoTypeInternal()
6207 ConceptDecl *CanonicalConcept = TypeConstraintConcept->getCanonicalDecl(); in getAutoTypeInternal()
6242 ConceptDecl *TypeConstraintConcept, in getAutoType()
7106 if (const auto *ConceptX = dyn_cast<ConceptDecl>(X)) { in isSameEntity()
7107 const auto *ConceptY = cast<ConceptDecl>(Y); in isSameEntity()
13582 ConceptDecl *CD = ::getCommonDecl(AX->getTypeConstraintConcept(), in getCommonSugarTypeNode()
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DDeclarationFragments.h364 static DeclarationFragments getFragmentsForConcept(const ConceptDecl *);
H A DExtractAPIVisitor.h98 bool VisitConceptDecl(const ConceptDecl *Decl);
776 bool ExtractAPIVisitorBase<Derived>::VisitConceptDecl(const ConceptDecl *Decl) { in VisitConceptDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplate.cpp310 isa<BuiltinTemplateDecl>(TD) || isa<ConceptDecl>(TD)); in isTemplateName()
313 isa<ConceptDecl>(TD) ? TNK_Concept_template : in isTemplateName()
1071 ConceptDecl *CD = cast<ConceptDecl>(TN.getAsTemplateDecl()); in CheckTypeConstraint()
1112 ConceptDecl *CD = cast<ConceptDecl>(TN.getAsTemplateDecl()); in BuildTypeConstraint()
1140 ConceptDecl *NamedConcept, NamedDecl *FoundDecl, SourceLocation LAngleLoc, in formImmediatelyDeclaredConstraint()
1188 ConceptDecl *NamedConcept, NamedDecl *FoundDecl, in AttachTypeConstraint()
3304 isa<VarTemplateDecl>(Template) || isa<ConceptDecl>(Template)) { in CheckTemplateIdType()
4345 ConceptDecl *NamedConcept, in CheckConceptTemplateId()
4427 if (R.getAsSingle<ConceptDecl>()) { in BuildTemplateIdExpr()
4430 R.getAsSingle<ConceptDecl>(), TemplateArgs); in BuildTemplateIdExpr()
[all …]
H A DSemaConcept.cpp1429 ConceptDecl *Concept, in substituteParameterMappings()
1610 ConceptDecl *CD = CSE->getNamedConcept(); in fromConstraintExpr()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseTemplate.cpp171 Decl *ConceptDecl = ParseConceptDefinition(TemplateInfo, DeclEnd); in ParseTemplateDeclarationOrSpecialization() local
174 ParsingTemplateParams.complete(ConceptDecl); in ParseTemplateDeclarationOrSpecialization()
175 return Actions.ConvertDeclToDeclGroup(ConceptDecl); in ParseTemplateDeclarationOrSpecialization()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp108 void VisitConceptDecl(const ConceptDecl *D);
1101 void USRGenerator::VisitConceptDecl(const ConceptDecl *D) { in VisitConceptDecl()
H A DIndexDecl.cpp740 bool VisitConceptDecl(const ConceptDecl *D) { in VisitConceptDecl()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp392 void VisitConceptDecl(ConceptDecl *D);
2381 void ASTDeclReader::VisitConceptDecl(ConceptDecl *D) { in VisitConceptDecl()
3992 D = ConceptDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp111 void VisitConceptDecl(ConceptDecl *D);
1687 void ASTDeclWriter::VisitConceptDecl(ConceptDecl *D) { in VisitConceptDecl()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp1173 const ConceptDecl *Concept) { in getFragmentsForConcept()

12