clang-format: [Java] Improve annotation handling.
authorDaniel Jasper <djasper@google.com>
Tue, 21 Oct 2014 10:58:14 +0000 (10:58 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 21 Oct 2014 10:58:14 +0000 (10:58 +0000)
commitfd68191db4ae3ec5b2626cc5414fc6772efc1d7c
tree5898abe58fc3eb6988043be0d5260028d8c9d4f9
parent171eb8dbeb41681b00290053fb3b44cb3222977d
clang-format: [Java] Improve annotation handling.

Before:
@SuppressWarnings(
    value = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") public static int iiiiiiiiiiiiiiiiiiiiiiii;

After:
  @SuppressWarnings(value = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
  public static int iiiiiiiiiiiiiiiiiiiiiiii;

llvm-svn: 220284
clang/lib/Format/TokenAnnotator.cpp
clang/unittests/Format/FormatTestJava.cpp