From 6e68c075503867d24969fdf4b302863a1efb0ca3 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Mon, 24 Aug 2015 11:27:58 -0700 Subject: [PATCH] Add a .clang-format file. Change-Id: I6c4c492d9b571dd654b4993d1de1827813963ce1 --- .clang-format | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 000000000..2b83a1f41 --- /dev/null +++ b/.clang-format @@ -0,0 +1,11 @@ +BasedOnStyle: Google +AllowShortBlocksOnASingleLine: false +AllowShortFunctionsOnASingleLine: false + +CommentPragmas: NOLINT:.* +DerivePointerAlignment: false +IndentWidth: 2 +PointerAlignment: Left +TabWidth: 2 +UseTab: Never +PenaltyExcessCharacter: 32