summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjyasskin@chromium.org <jyasskin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-01 01:53:40 +0000
committerjyasskin@chromium.org <jyasskin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-01 01:53:40 +0000
commit452ed0ea6015f5b57f12bc651192ea909fa7f7b3 (patch)
treed4c4b72c5702f3162ed774a01f4d2013a5a0031d
parenta35dd8ab85077e1131a3368c5d183846d397b86d (diff)
downloadchromium_src-452ed0ea6015f5b57f12bc651192ea909fa7f7b3.zip
chromium_src-452ed0ea6015f5b57f12bc651192ea909fa7f7b3.tar.gz
chromium_src-452ed0ea6015f5b57f12bc651192ea909fa7f7b3.tar.bz2
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=<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
-rw-r--r--.clang-format3
1 files changed, 3 insertions, 0 deletions
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