Applied llvm-else-after-return clang-tidy fixes
This commit is contained in:
@@ -314,7 +314,7 @@ std::shared_ptr<clanguml::config::diagram> parse_diagram_config(const Node &d)
|
||||
if (diagram_type == "package") {
|
||||
return std::make_shared<package_diagram>(d.as<package_diagram>());
|
||||
}
|
||||
else if (diagram_type == "include") {
|
||||
if (diagram_type == "include") {
|
||||
return std::make_shared<include_diagram>(d.as<include_diagram>());
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::shared_ptr<decorator> decorator::from_string(std::string_view c)
|
||||
if (c.find(skip::label) == 0) {
|
||||
return skip::from_string(c);
|
||||
}
|
||||
else if (c.find(style::label) == 0) {
|
||||
if (c.find(style::label) == 0) {
|
||||
return style::from_string(c);
|
||||
}
|
||||
else if (c.find(aggregation::label) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user