[PATCH] D93839: [clang-format] PR48594 BraceWrapping: SplitEmptyRecord ignored for templates

Johel Ernesto Guerrero Peña via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 27 17:06:22 PST 2020


JohelEGP added a comment.

I have another case:
`.clang-format`:

  BraceWrapping:
    AfterStruct: true
    SplitEmptyRecord: true
  BreakBeforeBraces: Custom

Input and expected formatted output:

  template <std::regular T> struct rep<std::complex<T>>
  {
    using type = T;
  };

Actual formatted output:

  template <std::regular T> struct rep<std::complex<T>>
  { using type = T; };


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93839



More information about the cfe-commits mailing list