clang-format: [Java] Don't line-wrap before annotations' l_parens.
authorDaniel Jasper <djasper@google.com>
Wed, 14 Jan 2015 09:51:32 +0000 (09:51 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 14 Jan 2015 09:51:32 +0000 (09:51 +0000)
commit3e1bd1407b4a4f5dada15d99882abc45c976b997
tree570ecd50b125d5d82ec4b78458e3a12fa992bf1c
parenta831c58e53a8a37169ede3e9dcbadf0873ef47c8
clang-format: [Java] Don't line-wrap before annotations' l_parens.

Before:
  @SomeAnnotation
  (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)
  int i;

After:
  @SomeAnnotation(
      aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)
  int i;

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