diff options
author | Wiwit Rifa'i <wiwitrifai@google.com> | 2023-09-18 21:00:28 +0800 |
---|---|---|
committer | Wiwit Rifa'i <wiwitrifai@google.com> | 2023-09-19 14:28:34 +0800 |
commit | 83c9109add0dc05b67ab7ea99400c698a2339343 (patch) | |
tree | e2f82512a947b3d6ef2ecce927bb4a3618a8e7f1 | |
parent | afbc2293eb633e0dbfac32d8e4ef712fc6aa94b8 (diff) | |
download | zuma-83c9109add0dc05b67ab7ea99400c698a2339343.tar.gz |
clang-format: add IncludeBlocks Preserve & PointerAlignment Left
We usually follow the same code style from framework/native.
This will add some new rules that have been added to framework/native
but not added here yet.
Bug: 295892886
Test: git-clang-format
Change-Id: I2a33fb9cbb8b4b9471d78de7708e9f4087b1e48d
-rw-r--r-- | .clang-format | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format index 03af56d..f63f670 100644 --- a/.clang-format +++ b/.clang-format @@ -11,3 +11,7 @@ ContinuationIndentWidth: 8 IndentWidth: 4 PenaltyBreakBeforeFirstCallParameter: 100000 SpacesBeforeTrailingComments: 1 +IncludeBlocks: Preserve + +DerivePointerAlignment: false +PointerAlignment: Left |