From 077e1c1e7042759745bad75e63fe16f6df8f715a Mon Sep 17 00:00:00 2001 From: Bartek Kryza Date: Tue, 23 Jul 2024 17:05:17 +0200 Subject: [PATCH] Extended test case t00080 with system header comment --- tests/t00080/.clang-uml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tests/t00080/.clang-uml b/tests/t00080/.clang-uml index e3951d40..cbc4a031 100644 --- a/tests/t00080/.clang-uml +++ b/tests/t00080/.clang-uml @@ -1,7 +1,11 @@ +add_compile_flags: + - -fparse-all-comments + - -fretain-comments-from-system-headers diagrams: t00080_class: type: class filter_mode: advanced + comment_parser: clang include_system_headers: true glob: - t00080.cc @@ -11,4 +15,10 @@ diagrams: - clanguml::t00080 elements: - std::thread - using_namespace: clanguml::t00080 \ No newline at end of file + using_namespace: clanguml::t00080 + plantuml: + after: + - '{% set e=element("std::thread") %} note top of {{ e.alias }} : {{ trim(e.comment.paragraph.0) }}' + mermaid: + after: + - '{% set e=element("std::thread") %} note for {{ e.alias }} "{{ trim(e.comment.paragraph.0) }}"' \ No newline at end of file