diff --git a/.clang-uml b/.clang-uml index 225d0717..12e5bba2 100644 --- a/.clang-uml +++ b/.clang-uml @@ -1,6 +1,8 @@ compilation_database_dir: debug output_directory: docs/diagrams comment_parser: clang +remove_compile_flags: + - -Wno-class-memaccess generate_links: link: "{% if existsIn(element, \"doxygen_link\") %}{{ element.doxygen_link }}{% endif %}" tooltip: "{% if existsIn(element, \"comment\") and existsIn(element.comment, \"brief\") %}{{ abbrv(trim(replace(element.comment.brief.0, \"\\n+\", \" \")), 256) }}{% else %}{{ element.name }}{% endif %}" @@ -72,4 +74,4 @@ diagrams: include!: uml/package/architecture_package.yml # Include diagrams include_graph: - include!: uml/include/include.yml \ No newline at end of file + include!: uml/include/include.yml diff --git a/CMakeLists.txt b/CMakeLists.txt index 16f646a4..27bd54ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -137,7 +137,9 @@ endif() # and environment quirks # if(LLVM_VERSION_MAJOR GREATER_EQUAL 17) - set(CUSTOM_COMPILE_OPTIONS "-Wno-class-memaccess") + if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") + set(CUSTOM_COMPILE_OPTIONS "-Wno-class-memaccess") + endif() endif() if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") set(CUSTOM_COMPILE_OPTIONS diff --git a/src/common/model/template_parameter.h b/src/common/model/template_parameter.h index 4c12d1a5..6334188a 100644 --- a/src/common/model/template_parameter.h +++ b/src/common/model/template_parameter.h @@ -504,8 +504,6 @@ private: /*! Whether template argument is ellipsis (...) */ bool is_ellipsis_{false}; - bool is_noexcept_{false}; - /*! Whether the template parameter is variadic */ bool is_variadic_{false}; diff --git a/src/sequence_diagram/model/diagram.h b/src/sequence_diagram/model/diagram.h index 6e50f840..4c58e5e1 100644 --- a/src/sequence_diagram/model/diagram.h +++ b/src/sequence_diagram/model/diagram.h @@ -328,8 +328,6 @@ private: return block_end_types.count(mt) > 0; }; - bool started_{false}; - std::map sequences_; std::map>