How to prevent clang-format from indenting comments that start at column 0?

Viewed 106

I want clang-format not to indent or change at all all comments that start at the beginning of a line. The reason is that in Eclipse I can comment and uncomment a line by typing ctrl-/ but if once commented and then indented by clang-format and then uncommented the final indentation is wrong. Any ideas how to do it? Thanks Martin

0 Answers
Related