Issue 78981
Summary [clang-format] Allow keeping indentation of commented-out code
Labels clang-format
Assignees
Reporter mstorsjo
    When commenting out code, there's two common styles, `<indent>// code` or `//<indent>code`.

When running clang-format over the latter style, it ends up as `<indent>//<indent>code`, which doesn't look great. It would be good to have an option to keep such lines untouched.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to