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.
master
Wolfgang Hess 2018-07-11 12:28:53 +02:00 committed by Wally B. Feed
parent 35abfccc6b
commit 88850ec2d7
1 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1,2 @@
BasedOnStyle: Google
DerivePointerAlignment: false