summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWiwit Rifa'i <wiwitrifai@google.com>2023-09-18 21:04:37 +0800
committerWiwit Rifa'i <wiwitrifai@google.com>2023-09-18 21:04:37 +0800
commitc58803102f8fba366c131e54be93158bbde65f0d (patch)
treeb01c0383d879d661318b927e421b0ba2e1e2539b
parent87ad567b2d94259618a7095a6ec2026d206d4d49 (diff)
downloadgs101-c58803102f8fba366c131e54be93158bbde65f0d.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: I0cd0e2546f21452a08ee561f9b90224bd1a01a62
-rw-r--r--.clang-format4
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