[PATCH] clang-format: make alignment after 'return' configurable

Harry Terkelsen het at google.com
Wed Nov 19 14:27:26 PST 2014


Hi djasper,

In Java, alignment after returns is usually disabled: see https://github.com/google/guava/blob/master/guava/src/com/google/common/collect/Maps.java#L548

http://reviews.llvm.org/D6328

Files:
  include/clang/Format/Format.h
  lib/Format/ContinuationIndenter.cpp
  lib/Format/Format.cpp
  unittests/Format/FormatTest.cpp
  unittests/Format/FormatTestJava.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6328.16403.patch
Type: text/x-patch
Size: 7760 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141119/745ad5e3/attachment.bin>


More information about the cfe-commits mailing list