Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dosbox-staging/dosbox-staging.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatryk Obara <dreamer.tan@gmail.com>2020-05-09 22:07:02 +0300
committerPatryk Obara <patryk.obara@gmail.com>2020-05-11 02:18:21 +0300
commit064108c9c469b15b0ae0f5b958314ebd4d354019 (patch)
treebc0f756be1ad96fc4eed9c9bb02a9440f1534b16 /.clang-format
parent2463626c965cf32970b00c7126c5509c52753d95 (diff)
Switch to using C++14
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format13
1 files changed, 3 insertions, 10 deletions
diff --git a/.clang-format b/.clang-format
index 4ef8b8803..ff4614e57 100644
--- a/.clang-format
+++ b/.clang-format
@@ -25,7 +25,9 @@ ColumnLimit: 80
# C/C++ Language specifics
#
Language: Cpp
-Standard: Cpp11 # in clang-format 11.x: c++11
+# in clang-format 9.x "Cpp11" covers formatting for C++11 and C++14
+# in clang-format 10.x: switch to "c++14"
+Standard: Cpp11
# The extra indent or outdent of class access modifiers, e.g. public:
#
@@ -97,8 +99,6 @@ AlwaysBreakTemplateDeclarations: Yes
# shortname = "dddd"
# "eeee";
#
-# TODO Test interaction with C++11 raw string literals
-#
# AlwaysBreakBeforeMultilineStrings: true
# Attach braces to surrounding context except break before braces on function
@@ -230,13 +230,6 @@ SpacesInParentheses: false
#
SpacesInSquareBrackets: false
-# Insert a space after '{' and before '}' in struct initializers
-#
-# This is native C++11 style, but it looks very weird.
-# TODO Investigate if it has any tangible benefits.
-#
-# Cpp11BracedListStyle: false
-
# A list of macros that should be interpreted as foreach loops instead of as
# function calls.
#