bkryza / clang-uml

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

Fix double message comments in conditional statements #301

Closed bkryza closed 1 month ago

bkryza commented 1 month 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.