]> granicus.if.org Git - clang/commit
clang-format: [Java] Support annotations with parameters.
authorDaniel Jasper <djasper@google.com>
Tue, 21 Oct 2014 09:25:39 +0000 (09:25 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 21 Oct 2014 09:25:39 +0000 (09:25 +0000)
commit53d21603cbf816f37901b1c5bff8084146c0fd97
treeb8498fef5b2c1b192334cf208368b3cbf5d0ce4e
parentce4e238c2036135b6d7416afebba983ed608062d
clang-format: [Java] Support annotations with parameters.

Before:
  @SuppressWarnings
  (value = "unchecked") public void doSomething() { .. }

After:
  @SuppressWarnings(value = "unchecked")
  public void doSomething() { .. }

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220279 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/TokenAnnotator.cpp
unittests/Format/FormatTestJava.cpp