Is it possible to set up clang-tidy to output issues it has found with the formatting of the source code as defined by the .clang-format
file. Basically, telling you what kind of changes clang-format would do if it ran on the file. Something along the lines of:
Line 23: improper indentation, 4 spaces should be used
Line 47: opening brace for loops should be on the same line
If not, would it be possible to write a custom check, which could do that for me?