aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/.clang-format
diff options
context:
space:
mode:
authorGravatar Jonathan Hseu <jhseu@google.com>2017-01-12 14:05:38 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-01-12 14:28:35 -0800
commitb808afd76b162a1649e1c005b7d5723759d635d7 (patch)
tree9dac77f40dd0457babdc4709aa688ef948250187 /tensorflow/.clang-format
parent5ccc994e7e855f730c49e9b1bfeffc92b3928d13 (diff)
Add a .clang-format file for automatically formatting .cc/.h files.
Reformatted core/platform/posix/port.cc as a test. Change: 144368934
Diffstat (limited to 'tensorflow/.clang-format')
-rw-r--r--tensorflow/.clang-format4
1 files changed, 4 insertions, 0 deletions
diff --git a/tensorflow/.clang-format b/tensorflow/.clang-format
new file mode 100644
index 0000000000..e06cf478f4
--- /dev/null
+++ b/tensorflow/.clang-format
@@ -0,0 +1,4 @@
+# Run manually to reformat a file:
+# clang-format -i --style=file <file>
+BasedOnStyle: Google
+DerivePointerAlignment: false