summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorHenrik Edin <henrik.edin@mongodb.com>2023-02-16 21:31:13 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-02-17 01:36:20 +0000
commitd3a85e09892ac8420ce52abcc901f25a442d45db (patch)
treee72d7a2759f7690d12f39fa7557f28f1d645c53a /.clang-format
parent4c2c59906d3c0d312f9eab790dbfe702af601901 (diff)
downloadmongo-d3a85e09892ac8420ce52abcc901f25a442d45db.tar.gz
SERVER-74089 Change clang-format setting DeriveLineEnding to true to allow for Windows-style line endings locally
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format4
1 files changed, 2 insertions, 2 deletions
diff --git a/.clang-format b/.clang-format
index be25304722e..d704bc6ccb1 100644
--- a/.clang-format
+++ b/.clang-format
@@ -63,7 +63,7 @@ ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
-DeriveLineEnding: false
+DeriveLineEnding: true
DerivePointerAlignment: false
DisableFormat: false
EmptyLineBeforeAccessModifier: LogicalBlock
@@ -229,7 +229,7 @@ ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
-DeriveLineEnding: false
+DeriveLineEnding: true
DerivePointerAlignment: false
DisableFormat: false
EmptyLineBeforeAccessModifier: LogicalBlock