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

Aaron Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 28 00:29:43 PDT 2020


asmith updated this revision to Diff 260551.
asmith added a comment.

Fix line breaks like this:

enum { a=1, b=2, c=3
} myEnum;

which becomes:

enum 
{

  a=1,
  b=2,
  c=3

} myEnum;


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

https://reviews.llvm.org/D78982

Files:
  clang/include/clang/Format/Format.h
  clang/lib/Format/Format.cpp
  clang/lib/Format/UnwrappedLineParser.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78982.260551.patch
Type: text/x-patch
Size: 3650 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200428/64643b0b/attachment-0001.bin>


More information about the cfe-commits mailing list