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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits