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