clang-format: [Java] Improve line breaks around annotations.
authorDaniel Jasper <djasper@google.com>
Fri, 31 Oct 2014 18:23:49 +0000 (18:23 +0000)
committerDaniel Jasper <djasper@google.com>
Fri, 31 Oct 2014 18:23:49 +0000 (18:23 +0000)
commite9ab42df0cf305b8ff1f363cc5acd680f954ec16
tree9a62b60733fd48805056fb171797c549390345af
parent396f80a1eac514b717a4a43a313ffaadde6f7cb0
clang-format: [Java] Improve line breaks around annotations.

Before:
  @SomeAnnotation("With some really looooooooooooooong text") private static final
      long something = 0L;

  void SomeFunction(@Nullable
                    String something) {}

After:
  @SomeAnnotation("With some really looooooooooooooong text")
  private static final long something = 0L;

  void SomeFunction(@Nullable String something) {}

llvm-svn: 220984
clang/lib/Format/ContinuationIndenter.cpp
clang/lib/Format/FormatToken.h
clang/lib/Format/TokenAnnotator.cpp
clang/unittests/Format/FormatTestJava.cpp