Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec106f6c authored by Dan Stoza's avatar Dan Stoza
Browse files

Add default .clang-format

Adds a default .clang-format for frameworks/native. If this style is
undesirable for a given component in this repo, it can be overriden
with a more local .clang-format file.

Test: None necessary, only for formatting
Change-Id: I0bf6bd9a15255d9a4ce3d485e841912955caa310
parent 88615059
Loading
Loading
Loading
Loading

.clang-format

0 → 100644
+13 −0
Original line number Original line Diff line number Diff line
BasedOnStyle: Google

AccessModifierOffset: -4
AlignOperands: false
AllowShortFunctionsOnASingleLine: Inline
AlwaysBreakBeforeMultilineStrings: false
ColumnLimit: 100
CommentPragmas: NOLINT:.*
ConstructorInitializerIndentWidth: 6
ContinuationIndentWidth: 8
IndentWidth: 4
PenaltyBreakBeforeFirstCallParameter: 100000
SpacesBeforeTrailingComments: 1