Added initial support for C++20 concepts
This commit is contained in:
@@ -79,6 +79,9 @@ public:
|
||||
|
||||
bool is_abstract() const;
|
||||
|
||||
bool is_concept() const { return is_concept_; }
|
||||
void is_concept(bool concept_) { is_concept_ = concept_; }
|
||||
|
||||
void find_relationships(
|
||||
std::vector<std::pair<std::string, common::model::relationship_t>>
|
||||
&nested_relationships);
|
||||
@@ -92,6 +95,7 @@ private:
|
||||
bool is_template_instantiation_{false};
|
||||
bool is_alias_{false};
|
||||
bool is_union_{false};
|
||||
bool is_concept_{false};
|
||||
std::vector<class_member> members_;
|
||||
std::vector<class_method> methods_;
|
||||
std::vector<class_parent> bases_;
|
||||
|
||||
@@ -83,6 +83,13 @@ public:
|
||||
|
||||
virtual bool VisitTypeAliasTemplateDecl(clang::TypeAliasTemplateDecl *cls);
|
||||
|
||||
// bool TraverseTypeConstraint(const clang::TypeConstraint *C);
|
||||
// bool TraverseConceptRequirement(clang::concepts::Requirement *R);
|
||||
// bool TraverseConceptTypeRequirement(clang::concepts::TypeRequirement *R);
|
||||
// bool TraverseConceptExprRequirement(clang::concepts::ExprRequirement *R);
|
||||
// bool TraverseConceptNestedRequirement(
|
||||
// clang::concepts::NestedRequirement *R);
|
||||
|
||||
/**
|
||||
* @brief Get diagram model reference
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user