clang-format: Tweak -style=Chromium for Java files.
authorNico Weber <nicolasweber@gmx.de>
Wed, 26 Nov 2014 16:43:18 +0000 (16:43 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 26 Nov 2014 16:43:18 +0000 (16:43 +0000)
commit450425c980137ee1e57dd77f149aecaea8300544
tree363a134badda74b41ee75fcd977f57bb923dc4f8
parentbe6992c7d3d838e278e6c74808f9d0ba01cd17e6
clang-format: Tweak -style=Chromium for Java files.

For Java, don't do any of the deviations from Google Style that Chromium style
does for C++.

Chromium's Java follows Android Java style [1], which is roughly Google Java
style with an indent of 4 and a continuation indent of 8.

1: https://source.android.com/source/code-style.html
llvm-svn: 222839
clang/lib/Format/Format.cpp
clang/unittests/Format/FormatTestJava.cpp