[PATCH] clang-format: Add Mozilla brace breaking style

Birunthan Mohanathas birunthan at mohanathas.com
Wed Jul 1 14:46:46 PDT 2015


Hi djasper,

This adds a new brace breaking style for Mozilla style, but I wonder if we want to keep adding more vendor specific brace breaking styles? Perhaps we should change BreakBeforeBraces to be a set of flags like `BreakBeforeBraces: [Class, Namespace]`?

http://reviews.llvm.org/D10883

Files:
  docs/ClangFormatStyleOptions.rst
  include/clang/Format/Format.h
  lib/Format/Format.cpp
  lib/Format/UnwrappedLineParser.cpp
  unittests/Format/FormatTest.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10883.28902.patch
Type: text/x-patch
Size: 5751 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150701/41a91c22/attachment.bin>


More information about the cfe-commits mailing list