Skip to content

Commit

Permalink
Fixed building clanguml internal diagrams on macos (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkryza committed Dec 3, 2023
1 parent 4ff42d0 commit 011d5e5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
5 changes: 2 additions & 3 deletions src/common/generators/generators.h
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@ std::unique_ptr<DiagramModel> generate(const common::compilation_database &db,
/**
* @brief Generate a single diagram
*
* @param od Output directory path
* @param name Name of the diagram
* @param diagram Effective diagram configuration
* @param db Reference to compilation database
Expand All @@ -406,7 +405,7 @@ std::unique_ptr<DiagramModel> generate(const common::compilation_database &db,
* @param verbose Log level
* @param progress Function to report translation unit progress
*/
void generate_diagram(const std::string &od, const std::string &name,
void generate_diagram(const std::string &name,
std::shared_ptr<clanguml::config::diagram> diagram,
const common::compilation_database &db,
const std::vector<std::string> &translation_units,
Expand Down Expand Up @@ -441,4 +440,4 @@ void generate_diagrams(const std::vector<std::string> &diagram_names,
*/
indicators::Color diagram_type_to_color(model::diagram_t diagram_type);

} // namespace clanguml::common::generators
} // namespace clanguml::common::generators
2 changes: 1 addition & 1 deletion src/sequence_diagram/visitor/translation_unit_visitor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1940,7 +1940,7 @@ void translation_unit_visitor::process_template_specialization_argument(
.getAsTemplateDecl()
->getQualifiedNameAsString();

argument.set_name(nested_template_name);
argument.set_type(nested_template_name);

auto nested_template_instantiation = build_template_instantiation(
*nested_template_type, &template_instantiation);
Expand Down
3 changes: 1 addition & 2 deletions uml/sequence/cli_handle_options_sequence.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ glob:
include:
namespaces:
- clanguml
- YAML
exclude:
elements:
- r: "clanguml::config::option.*"
Expand All @@ -21,4 +20,4 @@ exclude:
using_namespace:
- clanguml
from:
- function: "clanguml::cli::cli_handler::handle_options(int,const char **)"
- function: "clanguml::cli::cli_handler::handle_options(int,const char **)"
2 changes: 1 addition & 1 deletion uml/sequence/diagram_generate_generic_sequence.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ exclude:
paths:
- src/common/model/source_location.h
from:
- function: "clanguml::common::generators::generate_diagram(const std::string &,const std::string &,std::shared_ptr<clanguml::config::diagram>,const common::compilation_database &,const std::vector<std::string> &,const cli::runtime_config &,std::function<void ()> &&)"
- function: "clanguml::common::generators::generate_diagram(const std::string &,std::shared_ptr<clanguml::config::diagram>,const common::compilation_database &,const std::vector<std::string> &,const cli::runtime_config &,std::function<void ()> &&)"
3 changes: 1 addition & 2 deletions uml/sequence/load_config_sequence.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ glob:
include:
namespaces:
- clanguml
- YAML
exclude:
elements:
- r: "clanguml::config::option.*"
Expand All @@ -17,4 +16,4 @@ exclude:
using_namespace:
- clanguml
from:
- function: "clanguml::config::load(const std::string &,std::optional<bool>,std::optional<bool>,bool)"
- function: "clanguml::config::load(const std::string &,bool,std::optional<bool>,std::optional<bool>,bool)"

0 comments on commit 011d5e5

Please sign in to comment.