[PATCH] D121451: [clang-format] Add space to comments starting with '#'.

Marek Kurdej via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 11 01:34:51 PST 2022


curdeius added a comment.

I'm not sure whether we should consider this a breaking change, there were no tests at all verifying this behaviour.
I think that not adding a space in comments starting with a punctuation is a mistake unless for some special comments like `///`, `//!` etc. (which are handled separately anyway).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121451/new/

https://reviews.llvm.org/D121451



More information about the cfe-commits mailing list