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.

llvm-svn: 287020
This commit is contained in:
Eric Fiselier 2016-11-15 20:21:30 +00:00
parent faee2b71a7
commit 7004d6664e
1 changed files with 1 additions and 0 deletions

1
libcxx/.clang-format Normal file
View File

@ -0,0 +1 @@
BasedOnStyle: LLVM