From b5c151863a2aa49e8afe8e036f3941d0452408b0 Mon Sep 17 00:00:00 2001 From: Yutetsu TAKATSUKASA Date: Fri, 10 Jan 2020 00:13:08 +0900 Subject: [PATCH] Update .clang-format so that recent clang-format such as LLVM-8 works. (#2092) Use C++03 because this project needs to compile with the standard. --- .clang-format | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.clang-format b/.clang-format index d336fa9ed..f2fb7e371 100644 --- a/.clang-format +++ b/.clang-format @@ -91,7 +91,8 @@ PenaltyExcessCharacter: 1000000 PenaltyReturnTypeOnItsOwnLine: 60 PointerAlignment: Left RawStringFormats: - - Delimiter: pb + - Delimiters: + - 'pb' Language: TextProto BasedOnStyle: google ReflowComments: true @@ -108,7 +109,7 @@ SpacesInContainerLiterals: true SpacesInCStyleCastParentheses: false SpacesInParentheses: false SpacesInSquareBrackets: false -Standard: Cpp11 +Standard: Cpp03 TabWidth: 8 UseTab: Never ...