From: David Majnemer Date: Thu, 24 Jul 2014 00:26:04 +0000 (+0000) Subject: Add a .clang-format file to enhance formatting experience with clang-format X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5149bac8b4cbb404618bcadb84f76d9a2cd3a406;p=platform%2Fupstream%2Fllvm.git Add a .clang-format file to enhance formatting experience with clang-format clang-format is a handy tool that formats code very intelligently. I'd like to use it with LLDB but it requires a .clang-format file to inform it about LLDB-specific formatting rules. More information on these rules are here: http://clang.llvm.org/docs/ClangFormatStyleOptions.html Differential Revision: http://reviews.llvm.org/D4630 llvm-svn: 213823 --- diff --git a/lldb/.clang-format b/lldb/.clang-format new file mode 100644 index 0000000..7bb4a26 --- /dev/null +++ b/lldb/.clang-format @@ -0,0 +1,4 @@ +BasedOnStyle: LLVM +IndentWidth: 4 +ColumnLimit: 120 +BreakBeforeBraces: Allman