Switch to using C++14
This commit is contained in:
parent
2463626c96
commit
064108c9c4
7 changed files with 12 additions and 19 deletions
|
@ -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.
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue