[PATCH] clang-format: Added option for Allman style brace breaking

Frank Miller fmiller at sjm.com
Thu Aug 1 18:01:29 PDT 2013


  Increased coverage of new code and I think I now cover all the cases.  Please pay attention to how the switch statement is formatted. This looked weird to me at first and I thought it was a bug but I now think its correct. I would be curious to hear what others who use Allman style think.

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

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1257?vs=3124&id=3138#toc

Files:
  include/clang/Format/Format.h
  lib/Format/Format.cpp
  lib/Format/UnwrappedLineParser.cpp
  unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1257.2.patch
Type: text/x-patch
Size: 7333 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130801/7942d3f4/attachment.bin>


More information about the cfe-commits mailing list