From: Krasimir Georgiev Date: Tue, 26 Jun 2018 12:00:14 +0000 (+0000) Subject: [clang-format] Enable text proto formatting in common functions X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a8fca7b41c7c42dcbceb46f1a0fb70cd9dbd016f;p=clang [clang-format] Enable text proto formatting in common functions Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D48363 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335595 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp index 374c25064a..741584d138 100644 --- a/lib/Format/Format.cpp +++ b/lib/Format/Format.cpp @@ -774,7 +774,10 @@ FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language) { "PROTO", }, /*EnclosingFunctionNames=*/ - {}, + { + "PARSE_TEXT_PROTO", + "EqualsProto", + }, /*CanonicalDelimiter=*/"", /*BasedOnStyle=*/"google", },