Added should_include helper methods in sequence diagram visitor

This commit is contained in:
Bartek Kryza
2022-12-18 22:18:26 +01:00
parent c4d8bddf96
commit 1c7e64c51e
6 changed files with 235 additions and 178 deletions

View File

@@ -163,6 +163,14 @@ public:
int64_t local_id) const;
private:
bool should_include(const clang::TagDecl *decl) const;
bool should_include(const clang::LambdaExpr *expr) const;
bool should_include(const clang::CallExpr *expr) const;
bool should_include(const clang::CXXMethodDecl *decl) const;
bool should_include(const clang::FunctionDecl *decl) const;
bool should_include(const clang::FunctionTemplateDecl *decl) const;
bool should_include(const clang::ClassTemplateDecl *decl) const;
std::unique_ptr<clanguml::sequence_diagram::model::class_>
create_class_declaration(clang::CXXRecordDecl *cls);