[PATCH] D78982: [clang-format] Fix Microsoft style for enums

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 28 02:07:13 PDT 2020


MyDeveloperDay added a comment.

So it doesn't overcome the trailing "," issue. (which is sometimes used to put enums on multiple lines)  - (NOTE: maybe it shouldn't)

  ---
  Language: Cpp
  BasedOnStyle: LLVM
  AllowEnumsOnASingleLine: true



  enum
  {
    B,
    C,
    D,
  } A, B;

vs

  enum { B, C, D } A, B;


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

https://reviews.llvm.org/D78982





More information about the cfe-commits mailing list