Lei Zhang | 7c84cda | 2023-01-17 22:36:58 +0000 | [diff] [blame] | 1 | # Defines the Chromium style for automatic reformatting. |
Nico Weber | b915978 | 2015-08-04 13:55:17 -0700 | [diff] [blame] | 2 | # http://clang.llvm.org/docs/ClangFormatStyleOptions.html |
| 3 | BasedOnStyle: Chromium |
Lei Zhang | 7c84cda | 2023-01-17 22:36:58 +0000 | [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.) |
| 8 | Standard: Cpp11 |
| 9 | |
| 10 | # TODO(crbug.com/1392808): Remove when InsertBraces has been upstreamed into |
| 11 | # the Chromium style (is implied by BasedOnStyle: Chromium). |
| 12 | InsertBraces: true |