summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-11-23 01:18:56 +0000
committerEric Fiselier <eric@efcs.ca>2016-11-23 01:18:56 +0000
commitef3060ef96f9a8450fc5635d542b5dc207c55717 (patch)
treee38468346d45953e07734f2b9c69a548cc4c0d63 /.clang-format
parent0373708cdc6b84bcfac38f4cf8539c6dd794d360 (diff)
[libcxx] Fix max_size() across all containers
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 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@287729 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format6
1 files changed, 6 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index 9b3aa8b72..28009ef37 100644
--- a/.clang-format
+++ b/.clang-format
@@ -1 +1,7 @@
BasedOnStyle: LLVM
+
+---
+Language: Cpp
+
+AlwaysBreakTemplateDeclarations: true
+---