[PATCH] Implemented GNU-style formatting for compound statements.

Alexander Kornienko alexfh at google.com
Tue Dec 10 09:13:53 PST 2013


Hi djasper,

Added BraceBreakingStyle::BS_GNU. I'm not sure about the correctness of
static initializer formatting, but compound statements should be fine.

http://llvm-reviews.chandlerc.com/D2372

Files:
  .gitignore
  include/clang/Format/Format.h
  lib/Format/Format.cpp
  lib/Format/TokenAnnotator.cpp
  lib/Format/UnwrappedLineParser.cpp
  unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2372.1.patch
Type: text/x-patch
Size: 11844 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131210/173eacd1/attachment.bin>


More information about the cfe-commits mailing list