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

Commit 74bda5f6 authored by Tao Bao's avatar Tao Bao
Browse files

Add .clang-format style file.

The file is forked from bionic project. It's mostly in Google style, with
some tweaks (e.g. 100 column limit). New CLs can be formatted with `git
clang-format --style=file`.

Test: N/A
Change-Id: I6fbd0ab851c03aa6de9987777c7da8cdca8964ed
parent d0daf7f7
Loading
Loading
Loading
Loading

.clang-format

0 → 100644
+14 −0
Original line number Diff line number Diff line
BasedOnStyle: Google
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: false

ColumnLimit: 100
CommentPragmas: NOLINT:.*
DerivePointerAlignment: false
IndentWidth: 2
PointerAlignment: Left
TabWidth: 2
UseTab: Never
PenaltyExcessCharacter: 32

Cpp11BracedListStyle: false