From 0572ebb5920c0cb62fd4bf830ca2e9c98b8c5fe7 Mon Sep 17 00:00:00 2001 From: Wolfgang Hess Date: Fri, 13 Jul 2018 11:29:46 +0200 Subject: [PATCH] Add .clang-format file. (#938) This adds a .clang-format file, so that git clang-format uses Google style without the need to remember the commandline flag. Similar to googlecartographer/cartographer#1249. --- cartographer_ros/cartographer_ros/.clang-format | 2 ++ cartographer_rviz/cartographer_rviz/.clang-format | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 cartographer_ros/cartographer_ros/.clang-format create mode 100644 cartographer_rviz/cartographer_rviz/.clang-format diff --git a/cartographer_ros/cartographer_ros/.clang-format b/cartographer_ros/cartographer_ros/.clang-format new file mode 100644 index 0000000..5650f22 --- /dev/null +++ b/cartographer_ros/cartographer_ros/.clang-format @@ -0,0 +1,2 @@ +BasedOnStyle: Google +DerivePointerAlignment: false diff --git a/cartographer_rviz/cartographer_rviz/.clang-format b/cartographer_rviz/cartographer_rviz/.clang-format new file mode 100644 index 0000000..5650f22 --- /dev/null +++ b/cartographer_rviz/cartographer_rviz/.clang-format @@ -0,0 +1,2 @@ +BasedOnStyle: Google +DerivePointerAlignment: false