From 452ed0ea6015f5b57f12bc651192ea909fa7f7b3 Mon Sep 17 00:00:00 2001 From: "jyasskin@chromium.org" Date: Fri, 1 Nov 2013 01:53:40 +0000 Subject: Add a .clang-format file to give us local control over Chromium style. This also makes editor integration somewhat easier by letting editors pass just "-style=file -assume-filename=" to clang-format instead of needing to guess the desired style based on the path. We could name this file _clang-format instead, if that's easier for Windows. Review URL: https://codereview.chromium.org/52093012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232271 0039d316-1c4b-4281-b951-d872f2087c98 --- .clang-format | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..0a89601 --- /dev/null +++ b/.clang-format @@ -0,0 +1,3 @@ +# Defines the Chromium style for automatic reformatting. +# http://clang.llvm.org/docs/ClangFormatStyleOptions.html +BasedOnStyle: Chromium -- cgit v1.1