OLD | NEW |
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 |
| 5 # 'vector<vector<int> >' in existing files gets formatted to |
| 6 # 'vector<vector<int>>'. ('Auto' means that clang-format will only use |
| 7 # 'int>>' if the file already contains at least one such instance.) |
4 Standard: Cpp11 | 8 Standard: Cpp11 |
| 9 |
| 10 --- |
| 11 Language: Java |
| 12 # See http://crbug.com/429372 for information about this section. |
| 13 IndentWidth: 4 |
| 14 ContinuationIndentWidth: 8 |
| 15 ColumnLimit: 100 |
| 16 AllowShortBlocksOnASingleLine: false |
| 17 AllowShortFunctionsOnASingleLine: None |
| 18 AllowShortIfStatementsOnASingleLine: true |
| 19 Cpp11BracedListStyle: false # but see http://llvm.org/PR21457 |
OLD | NEW |