summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorthakis <thakis@chromium.org>2014-12-01 12:46:40 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-01 20:47:08 +0000
commit1cc47034de564d0fd33a89c7d785a539b6c3a5a0 (patch)
tree3b5f6d586d772fff18a5d6b9eb4660acfd54beed /.clang-format
parent58becfc708670659119ca72472d1d0882797f706 (diff)
downloadchromium_src-1cc47034de564d0fd33a89c7d785a539b6c3a5a0.zip
chromium_src-1cc47034de564d0fd33a89c7d785a539b6c3a5a0.tar.gz
chromium_src-1cc47034de564d0fd33a89c7d785a539b6c3a5a0.tar.bz2
clang-format/java: No spaces around braces in initializer lists.
Those spaces are explicitly optional for Google's Java style (Point 8 of https://google-styleguide.googlecode.com/svn/trunk/javaguide.html#s4.6.2-horizontal-whitespace) and not having spaces outnumbers spaces about 10-to-1 in our existing code. This also removes the space in annotations like `@Feature({"Android-AppBase"})` which is too looks like a good change. With this, all chromium-related java bits are upstreamed into clang-format and the java-specific section from .clang-format is gone again. BUG=429372 NOTRY=true Review URL: https://codereview.chromium.org/764423002 Cr-Commit-Position: refs/heads/master@{#306245}
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format5
1 files changed, 0 insertions, 5 deletions
diff --git a/.clang-format b/.clang-format
index cd49686..6fdf1dc 100644
--- a/.clang-format
+++ b/.clang-format
@@ -6,8 +6,3 @@ BasedOnStyle: Chromium
# 'vector<vector<int>>'. ('Auto' means that clang-format will only use
# 'int>>' if the file already contains at least one such instance.)
Standard: Cpp11
-
----
-Language: Java
-# See http://crbug.com/429372 for information about this section.
-Cpp11BracedListStyle: false # but see http://llvm.org/PR21457