summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authormukesh agrawal <quiche@google.com>2016-11-10 14:10:36 -0800
committermukesh agrawal <quiche@google.com>2016-11-10 14:10:36 -0800
commit9d5231abd52ea455b40266552377f419bdcbcc8d (patch)
tree17eae399e84c125c2f9114c3e9f013b32a230412 /.clang-format
parent0c080f686493770bec93d6c9f6b075da8ef30357 (diff)
downloadwifilogd-9d5231abd52ea455b40266552377f419bdcbcc8d.tar.gz
add .clang-format
In our environment, clang-format runs with '-style=file'. With this parameter, clang-format searches recursively to the top of the tree, looking for a file called .clang-format. clang-format adopts the formatting style specified by the first matching file. Add .clang-format, to specify that wifilogd code should use Google formatting style. Bug: 32781722 Test: None Change-Id: Ibf68c592544470e4df10e89843d1ff663f4f2c03
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format1
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000..f6cb8ad
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1 @@
+BasedOnStyle: Google