summaryrefslogtreecommitdiffstats
path: root/libcxx/.clang-format
Commit message (Collapse)AuthorAgeFilesLines
* Make clang-format use C++03 syntaxEric Fiselier2017-04-151-0/+1
| | | | llvm-svn: 300387
* Tweak .clang-format configuration.Eric Fiselier2017-01-141-5/+0
| | | | | | | Remove the custom configuration options for brace wrapping. They don't work well for inline functions or type-traits classes. llvm-svn: 291998
* clang-format: tweak configurationSaleem Abdulrasool2017-01-031-0/+6
| | | | | | | | Update the configuration to reflect the style more accurately. Pointers are tied to the left. Braces are split on classes/structs and functions. llvm-svn: 290857
* fix misspelling in .clang-formatEric Fiselier2016-12-091-1/+1
| | | | llvm-svn: 289178
* Turn off header sorting and comment formattingEric Fiselier2016-12-091-0/+4
| | | | llvm-svn: 289177
* [libcxx] Fix max_size() across all containersEric Fiselier2016-11-231-0/+6
| | | | | | | | | | | | Summary: The `max_size()` method of containers should respect both the allocator's reported `max_size` and the range of the `difference_type`. This patch makes all containers choose the smallest of those two values. Reviewers: mclow.lists, EricWF Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D26885 llvm-svn: 287729
* Add .clang-format to libc++Eric Fiselier2016-11-151-0/+1
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
OpenPOWER on IntegriCloud