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.
This commit is contained in:
Eric Fiselier 2017-10-11 17:38:16 -06:00
parent 40b90bcfda
commit 894a869e7b
2 changed files with 6 additions and 1 deletions

4
.clang-format Normal file
View file

@ -0,0 +1,4 @@
---
Language: Cpp
BasedOnStyle: Google
...