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

Side by Side Diff: .clang-format

Issue 2470663006: Add .clang-format and run clang-format on runtime/platform. (Closed)
Patch Set: Remove default override for short functions Created 4 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 | runtime/platform/address_sanitizer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Defines the Chromium style for automatic reformatting.
2 # http://clang.llvm.org/docs/ClangFormatStyleOptions.html
3 BasedOnStyle: Chromium
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.
9 ReflowComments: 'false'
10
11 # We have lots of these. Though we need to put them all in curly braces,
12 # clang-format can't do that.
13 AllowShortIfStatementsOnASingleLine: 'true'
14
15 # Put escaped newlines into the rightmost column.
16 AlignEscapedNewlinesLeft: false
OLDNEW
« no previous file with comments | « no previous file | runtime/platform/address_sanitizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698