diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-10-11 17:38:16 -0600 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-10-12 13:01:26 -0600 |
commit | 894a869e7b5d7c1c04b9583e706e21cef6a1d6d6 (patch) | |
tree | 4277a1e38d6c90c2f58cc2e734b8db332218caf8 /.clang-format | |
parent | 40b90bcfda2d08c55c1bb347d1780321f5896868 (diff) |
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.
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 4 |
1 files changed, 4 insertions, 0 deletions
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 +... |