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 | 4 |
5 # Keep up to 2 blank lines. More blank lines are removed. | |
6 MaxEmptyLinesToKeep: 2 | |
7 | |
8 # clang-format doesn't seem to do a good job of this for longer comments. | 5 # clang-format doesn't seem to do a good job of this for longer comments. |
9 ReflowComments: 'false' | 6 ReflowComments: 'false' |
10 | 7 |
11 # We have lots of these. Though we need to put them all in curly braces, | 8 # We have lots of these. Though we need to put them all in curly braces, |
12 # clang-format can't do that. | 9 # clang-format can't do that. |
13 AllowShortIfStatementsOnASingleLine: 'true' | 10 AllowShortIfStatementsOnASingleLine: 'true' |
14 | 11 |
15 # Put escaped newlines into the rightmost column. | 12 # Put escaped newlines into the rightmost column. |
16 AlignEscapedNewlinesLeft: false | 13 AlignEscapedNewlinesLeft: false |
OLD | NEW |