[PATCH] clang-format: [JS] Option for top-level dict literals on a single line

Adam Strzelecki ono at java.pl
Wed Jan 28 05:44:23 PST 2015


- Introduced SingleLineStyle enum of None, Nested, All
- Replaced previous setting with AllowDictLiteralsOnASingleLine with value of enum above
- Added unit tests for this setting


http://reviews.llvm.org/D7200

Files:
  include/clang/Format/Format.h
  lib/Format/Format.cpp
  lib/Format/TokenAnnotator.cpp
  unittests/Format/FormatTest.cpp
  unittests/Format/FormatTestJS.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7200.18888.patch
Type: text/x-patch
Size: 6681 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150128/00f0a0cb/attachment.bin>


More information about the cfe-commits mailing list