jyasskin@chromium.org | 452ed0ea | 2013-11-01 01:53:40 | [diff] [blame] | 1 | # Defines the Chromium style for automatic reformatting. |
| 2 | # http://clang.llvm.org/docs/ClangFormatStyleOptions.html |
| 3 | BasedOnStyle: Chromium |
thakis | 1c79f864 | 2014-10-31 23:00:18 | [diff] [blame] | 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.) |
scottmg | 57e3f0a | 2014-09-25 06:32:45 | [diff] [blame] | 8 | Standard: Cpp11 |
thakis | ff9bdbdb | 2014-10-31 23:59:00 | [diff] [blame] | 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 |
thakis | 4ad8593 | 2014-11-02 23:37:07 | [diff] [blame] | 16 | AllowShortBlocksOnASingleLine: false |
| 17 | AllowShortFunctionsOnASingleLine: None |
thakis | ff9bdbdb | 2014-10-31 23:59:00 | [diff] [blame] | 18 | AllowShortIfStatementsOnASingleLine: true |
thakis | 4ad8593 | 2014-11-02 23:37:07 | [diff] [blame] | 19 | Cpp11BracedListStyle: false # but see http://llvm.org/PR21457 |