diff options
author | Garfield Tan <xutan@google.com> | 2019-12-09 16:08:46 -0800 |
---|---|---|
committer | Garfield Tan <xutan@google.com> | 2020-07-17 18:43:18 -0700 |
commit | 4c2d3daf6ac9d18dc1add0b9e32568aa2ade1878 (patch) | |
tree | 0d6134eceadc690bbb6acf3abae0600473c1c3d9 /.clang-format | |
parent | 06b1ba180d1f0ae2ee66516ca782f65934fb0950 (diff) |
Enable clang-format for frameworks/base
Copy and paste internal setup to AOSP. Not include folders not in AOSP
yet.
Bug: None
Test: repo upload
Change-Id: I08b8c6d1bae7d1954847c207ef8e6d80373b2d05
Merged-In: I08b8c6d1bae7d1954847c207ef8e6d80373b2d05
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 000000000000..03af56d64062 --- /dev/null +++ b/.clang-format @@ -0,0 +1,13 @@ +BasedOnStyle: Google + +AccessModifierOffset: -4 +AlignOperands: false +AllowShortFunctionsOnASingleLine: Inline +AlwaysBreakBeforeMultilineStrings: false +ColumnLimit: 100 +CommentPragmas: NOLINT:.* +ConstructorInitializerIndentWidth: 6 +ContinuationIndentWidth: 8 +IndentWidth: 4 +PenaltyBreakBeforeFirstCallParameter: 100000 +SpacesBeforeTrailingComments: 1 |