]> granicus.if.org Git - clang/commit
clang-format/java: Break after annotations on fields in Chromium style.
authorNico Weber <nicolasweber@gmx.de>
Thu, 15 Oct 2015 16:03:01 +0000 (16:03 +0000)
committerNico Weber <nicolasweber@gmx.de>
Thu, 15 Oct 2015 16:03:01 +0000 (16:03 +0000)
commit4e6f6246434eac5c0d43c09d3d2829277bc57636
treed98c08a41aec6c332d7dcee557e65b0fe50124c1
parentaa1247dbae92ccf267af9d31b8b8069d7ce03c47
clang-format/java: Break after annotations on fields in Chromium style.

Chromium follows the Android style guide for Java code, and that doesn't make
the distinction between fields and non-fields that the Google Java style guide
makes:

https://source.android.com/source/code-style.html#use-standard-java-annotations
https://google.github.io/styleguide/javaguide.html#s4.8.5-annotations

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