[Lldb-commits] [lldb] r213823 - Add a .clang-format file to enhance formatting experience with clang-format

David Majnemer david.majnemer at gmail.com
Wed Jul 23 17:26:04 PDT 2014


Author: majnemer
Date: Wed Jul 23 19:26:04 2014
New Revision: 213823

URL: http://llvm.org/viewvc/llvm-project?rev=213823&view=rev
Log:
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

Added:
    lldb/trunk/.clang-format

Added: lldb/trunk/.clang-format
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/.clang-format?rev=213823&view=auto
==============================================================================
--- lldb/trunk/.clang-format (added)
+++ lldb/trunk/.clang-format Wed Jul 23 19:26:04 2014
@@ -0,0 +1,4 @@
+BasedOnStyle: LLVM
+IndentWidth:     4
+ColumnLimit:     120
+BreakBeforeBraces: Allman





More information about the lldb-commits mailing list