From 894a869e7b5d7c1c04b9583e706e21cef6a1d6d6 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Wed, 11 Oct 2017 17:38:16 -0600 Subject: Add Google-style .clang-format file. It would be nice if the repository contained a clang-format config file so that PR submitters could use tooling to correctly format their code match Googles/abseils style. This also makes it easier for reviewers to specify what coding style should be used. ie the one the tooling produces. The clang-format file is the default Google configuration as dumped by `clang-format`. I'm not sure abseil will want the exact same options, but it seemed like the right starting place. --- .clang-format | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .clang-format (limited to '.clang-format') diff --git a/.clang-format b/.clang-format new file mode 100644 index 00000000..06ea346a --- /dev/null +++ b/.clang-format @@ -0,0 +1,4 @@ +--- +Language: Cpp +BasedOnStyle: Google +... -- cgit v1.2.3