[libcxx] r287020 - Add .clang-format to libc++
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 15 12:21:31 PST 2016
Author: ericwf
Date: Tue Nov 15 14:21:30 2016
New Revision: 287020
URL: http://llvm.org/viewvc/llvm-project?rev=287020&view=rev
Log:
Add .clang-format to libc++
Adding a Clang Format file to libc++ and which style it should use has been
discussed a couple of times. This patch finally adds a .clang-format file
which specifies LLVM styles.
Personally I dislike how the LLVM style handles much of the meta-programming
in libc++. However the general consensus was that libc++ should prefer the
LLVM style and make adjustments where needed.
Note that using clang-format on changes is not required, especially for
changes within the headers. However formatting tests should be encouraged.
Added:
libcxx/trunk/.clang-format
Added: libcxx/trunk/.clang-format
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/.clang-format?rev=287020&view=auto
==============================================================================
--- libcxx/trunk/.clang-format (added)
+++ libcxx/trunk/.clang-format Tue Nov 15 14:21:30 2016
@@ -0,0 +1 @@
+BasedOnStyle: LLVM
More information about the cfe-commits
mailing list