Add a .clang-format file for automatically formatting .cc/.h files.

Reformatted core/platform/posix/port.cc as a test.
Change: 144368934
This commit is contained in:
Jonathan Hseu 2017-01-12 14:05:38 -08:00 committed by TensorFlower Gardener
parent 5ccc994e7e
commit b808afd76b
2 changed files with 19 additions and 15 deletions

4
tensorflow/.clang-format Normal file
View File

@ -0,0 +1,4 @@
# Run manually to reformat a file:
# clang-format -i --style=file <file>
BasedOnStyle: Google
DerivePointerAlignment: false