Applied cppcoreguidelines-pro-type-member-init,hicpp-explicit-conversionsm,modernize-use-default-member-init clang-tidy fixes

This commit is contained in:
Bartek Kryza
2022-12-20 22:53:20 +01:00
parent 1116c3ab67
commit 682c6648be
9 changed files with 20 additions and 37 deletions

View File

@@ -79,7 +79,7 @@ struct filter {
enum class hint_t { up, down, left, right };
struct layout_hint {
hint_t hint;
hint_t hint{hint_t::up};
std::string entity;
};
@@ -166,7 +166,7 @@ struct diagram : public inheritable_diagram_options {
struct source_location {
enum class location_t { usr, marker, fileline, function };
location_t location_type;
location_t location_type{location_t::function};
std::string location;
};