[Lldb-commits] [PATCH] Add a .clang-format file to enhance formatting experience with clang-format
David Majnemer
david.majnemer at gmail.com
Tue Jul 22 14:01:37 PDT 2014
Hi zturner, tfiala,
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
http://reviews.llvm.org/D4630
Files:
.clang-format
Index: .clang-format
===================================================================
--- /dev/null
+++ .clang-format
@@ -0,0 +1,5 @@
+BasedOnStyle: LLVM
+IndentWidth: 4
+ColumnLimit: 120
+BreakBeforeBraces: Allman
+PenaltyReturnTypeOnItsOwnLine: 0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4630.11784.patch
Type: text/x-patch
Size: 260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140722/6b0668b8/attachment.bin>
More information about the lldb-commits
mailing list