Could you please give more details about your platform/environment?
Because when I run clang-format -style=file test.cpp --dry-run -Werror (version 13, on Windows), I get:
test.cpp:2:16: error: code should be clang-formatted [-Wclang-format-violations]
float bar() {
^
test.cpp:3:14: error: code should be clang-formatted [-Wclang-format-violations]
return 0;
^
so with the locations of each to-be-done replacement.
First I wanna thank you for you comment!
I can also see the place where the format error occurs but my question was if there is a way for clang to tell me exacly WHAT the problem is… I mean… like “the name of the class isnt formatted well”