[PATCH] D87587: [clang-format][PR47290] Add ShortNamespaceLines format option

Krystian Kuzniarek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 10 17:51:37 PST 2021


kuzkry marked 3 inline comments as done.
kuzkry added a comment.

In D87587#2552232 <https://reviews.llvm.org/D87587#2552232>, @HazardyKnusperkeks wrote:

> Apart from my comments, this looks good to me and I really wonder why it hasn't been pushed. (I would directly use it!)

I don't know, maybe noone needed this except for us :D



================
Comment at: clang/include/clang/Format/Format.h:2821
            MaxEmptyLinesToKeep == R.MaxEmptyLinesToKeep &&
+           ShortNamespaceLines == R.ShortNamespaceLines &&
            NamespaceIndentation == R.NamespaceIndentation &&
----------------
HazardyKnusperkeks wrote:
> Could you sort this one alphabetically?
Oops, I just sed'ed through it when renaming and forgot to sort it. Thx :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87587



More information about the cfe-commits mailing list