bkryza / clang-uml

Customizable automatic UML diagram generator for C++ based on Clang.
Apache License 2.0
610 stars 44 forks source link

Fix double message comments in conditional statements #301

Closed bkryza closed 3 months ago

bkryza commented 3 months ago

In case a comment is attached to a conditional or loop statement, and a call is within the condition of that statement, e.g:

// Can we just clear INDEX flag to ignore htree information?
if (!ext4_has_metadata_csum(sb)) {
}

the comment will be generated twice in the diagram.