From 9f7b9c6b4654c273446b66668c2638740461a3bd Mon Sep 17 00:00:00 2001 From: Motomu Utsumi Date: Mon, 24 Mar 2025 10:18:32 +0900 Subject: [PATCH] Add .clang-format This CL makes indent width 4 and allows oneline if statements for c,h,cc,cpp,hpp files. Test: m Change-Id: I1c43ddbc30a6e71c4ce829f5d0b1b92905d6368c --- .clang-format | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000000..347e49729f --- /dev/null +++ b/.clang-format @@ -0,0 +1,2 @@ +IndentWidth: 4 +AllowShortIfStatementsOnASingleLine: WithoutElse