diff options
author | Marco Poletti <poletti.marco@gmail.com> | 2017-12-27 09:23:44 +0000 |
---|---|---|
committer | Marco Poletti <poletti.marco@gmail.com> | 2017-12-27 09:23:44 +0000 |
commit | 1b959abb02fa151f472d9d3cbaefc96a292985fe (patch) | |
tree | de2eaef1e9d57d4ab172069accfc0215dd2b7073 /.clang-format | |
parent | dad7ba8e69a1041e8b8315d189ed278b45f6f621 (diff) | |
download | google-fruit-1b959abb02fa151f472d9d3cbaefc96a292985fe.tar.gz |
Add a .clang-format config file and reformat all C++ source code using that. Also added some documentation on the preferred style in CONTRIBUTING.md.
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..ad65d48 --- /dev/null +++ b/.clang-format @@ -0,0 +1,6 @@ +BasedOnStyle: LLVM +Language: Cpp +ColumnLimit: 120 +AllowShortFunctionsOnASingleLine: Empty +AlwaysBreakTemplateDeclarations: true +PointerAlignment: Left |