[PATCH] D54628: Extend format with AllowShortEnumsOnASingleLine option

Florian Kauer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 13 07:59:13 PST 2019


koalo added a comment.

The difference is that BraceWrapping.AfterEnum also wraps before the brace.

With AfterEnum we have the following

  true:
  enum X : int
  {
    B
  };
  
  false:
  enum X : int { B };

But what I want is this:

  enum X : int {
    B
  };


Repository:
  rC Clang

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

https://reviews.llvm.org/D54628





More information about the cfe-commits mailing list