From 30ec71c0fe194a551d2e4abaff2159e0730488e0 Mon Sep 17 00:00:00 2001 From: John Reck Date: Fri, 3 Nov 2017 10:11:34 -0700 Subject: [PATCH] Add .clang-format file Test: No code changes, just ran through clang-format Change-Id: Ieb6c8b51e8a824fea03c6999dc4e0704e918d396 --- libs/hwui/.clang-format | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 libs/hwui/.clang-format diff --git a/libs/hwui/.clang-format b/libs/hwui/.clang-format new file mode 100644 index 0000000000000..5e9bba8377cbf --- /dev/null +++ b/libs/hwui/.clang-format @@ -0,0 +1,10 @@ +BasedOnStyle: Google +DerivePointerAlignment: false +IndentWidth: 4 +ConstructorInitializerIndentWidth: 8 +ContinuationIndentWidth: 8 +ColumnLimit: 100 +AllowShortFunctionsOnASingleLine: Inline +AccessModifierOffset: -4 +#BreakConstructorInitializers: BeforeComma +BreakConstructorInitializersBeforeComma: true