diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-11-15 20:21:30 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-11-15 20:21:30 +0000 |
commit | 746d008aeb42f9232c69b5fb0e6e3c7b53e80ee2 (patch) | |
tree | 791495ab86879cf236a7db5330b5478b78df774d /.clang-format | |
parent | bb835ac64d80b19e086dadcbac52654723a6b938 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@287020 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 000000000..9b3aa8b72 --- /dev/null +++ b/.clang-format @@ -0,0 +1 @@ +BasedOnStyle: LLVM |