Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(359)

Side by Side Diff: .clang-format

Issue 697893002: clang-format/java: Tweak style a bit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Defines the Chromium style for automatic reformatting. 1 # Defines the Chromium style for automatic reformatting.
2 # http://clang.llvm.org/docs/ClangFormatStyleOptions.html 2 # http://clang.llvm.org/docs/ClangFormatStyleOptions.html
3 BasedOnStyle: Chromium 3 BasedOnStyle: Chromium
4 # This defaults to 'Auto'. Explicitly set it for a while, so that 4 # This defaults to 'Auto'. Explicitly set it for a while, so that
5 # 'vector<vector<int> >' in existing files gets formatted to 5 # 'vector<vector<int> >' in existing files gets formatted to
6 # 'vector<vector<int>>'. ('Auto' means that clang-format will only use 6 # 'vector<vector<int>>'. ('Auto' means that clang-format will only use
7 # 'int>>' if the file already contains at least one such instance.) 7 # 'int>>' if the file already contains at least one such instance.)
8 Standard: Cpp11 8 Standard: Cpp11
9 9
10 --- 10 ---
11 Language: Java 11 Language: Java
12 # See http://crbug.com/429372 for information about this section. 12 # See http://crbug.com/429372 for information about this section.
13 IndentWidth: 4 13 IndentWidth: 4
14 ContinuationIndentWidth: 8 14 ContinuationIndentWidth: 8
15 ColumnLimit: 100 15 ColumnLimit: 100
16 AllowShortBlocksOnASingleLine: false
17 AllowShortFunctionsOnASingleLine: None
16 AllowShortIfStatementsOnASingleLine: true 18 AllowShortIfStatementsOnASingleLine: true
19 Cpp11BracedListStyle: false # but see http://llvm.org/PR21457
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698