Skip to content

Commit

Permalink
add .clang-format (apache#2395)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiics authored and tqchen committed Jan 8, 2019
1 parent be07fac commit 00f80d1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Run the following command to reformat a file:
# clang-format -i -style=Google <file>
# Or use clang-format-diff to only reformat the changed lines:
# https://clang.llvm.org/docs/ClangFormat.html
BasedOnStyle: Google
DerivePointerAlignment: false
ColumnLimit: 100
PointerAlignment: Left

0 comments on commit 00f80d1

Please sign in to comment.