Ericsson / codechecker

CodeChecker is an analyzer tooling, defect database and viewer extension for the Clang Static Analyzer and Clang Tidy
https://codechecker.readthedocs.io
Apache License 2.0
2.15k stars 358 forks source link

[gcc][GUI] Fix indentations for gcc fn calls bug reports #4182

Closed Szelethus closed 3 months ago

Szelethus commented 4 months ago

Previously, all notes of GCC were uncategorized, which lead to function calls not being indented properly. This patch fixes that (though I admit, this JS code isn't my proudest work):

Before:

image

After:

image

With Clang, its easy to identify loops, but for gcc, not so much, so I skipped it: image