commit | 9f7b9c6b4654c273446b66668c2638740461a3bd | [log] [tgz] |
---|---|---|
author | Motomu Utsumi <motomuman@google.com> | Mon Mar 24 10:18:32 2025 +0900 |
committer | Motomu Utsumi <motomuman@google.com> | Sun Mar 23 19:59:10 2025 -0700 |
tree | 84bd1f14cf79298ee0df1a1f16e151e49f78fa81 | |
parent | 95af095af95bcdf8a9045aa7e1bb4c243e30d57c [diff] [blame] |
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
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..347e497 --- /dev/null +++ b/.clang-format
@@ -0,0 +1,2 @@ +IndentWidth: 4 +AllowShortIfStatementsOnASingleLine: WithoutElse