From 88850ec2d775cb27d1026b4f4142f99be86f14f2 Mon Sep 17 00:00:00 2001 From: Wolfgang Hess Date: Wed, 11 Jul 2018 12:28:53 +0200 Subject: [PATCH] Add .clang-format file. (#1249) This adds a .clang-format file, so that git clang-format uses Google style without the need to remember the commandline flag. Moreover, this ensures correct formatting if the Cartographer code is in a subtree of a repo. --- cartographer/.clang-format | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 cartographer/.clang-format diff --git a/cartographer/.clang-format b/cartographer/.clang-format new file mode 100644 index 0000000..5650f22 --- /dev/null +++ b/cartographer/.clang-format @@ -0,0 +1,2 @@ +BasedOnStyle: Google +DerivePointerAlignment: false