Last active
February 10, 2020 13:30
-
-
Save clemensg/76a0c214d8d328a8502da9d05ef5d863 to your computer and use it in GitHub Desktop.
Bug 34649 - clang-format messes up comment indentations - Problem 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unsigned int | |
/* a = 1, */ /* Comment A */ | |
b = 2, /* Comment B */ | |
c = 3; /* Comment C */ | |
int main(int argc, char *argv[]) | |
{ | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
clang-format 9.0.0 changes it to:
I think it should stay as it was, instead.. (or if indenting
b = 2, ..
is intended, it should also indentc = 3; ..
.. But why only theb = 2, ..
?).clang-format
being used is https://gist.github.com/clemensg/be1dc3f2c4442a995cba3d8068917848