Fix diagram generation using LLVM 17 (Fixes #190)
This commit is contained in:
@@ -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
|
||||
include!: uml/include/include.yml
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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};
|
||||
|
||||
|
||||
@@ -328,8 +328,6 @@ private:
|
||||
return block_end_types.count(mt) > 0;
|
||||
};
|
||||
|
||||
bool started_{false};
|
||||
|
||||
std::map<common::model::diagram_element::id_t, activity> sequences_;
|
||||
|
||||
std::map<common::model::diagram_element::id_t, std::unique_ptr<participant>>
|
||||
|
||||
Reference in New Issue
Block a user