From: Krasimir Georgiev Date: Wed, 1 Aug 2018 12:35:23 +0000 (+0000) Subject: [clang-format] Add some text proto functions to Google style X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f0ca9047921086e5bff909d269a120d577f6341;p=clang [clang-format] Add some text proto functions to Google style Summary: Adds 2 functions taking a text proto argument. Reviewers: djasper, klimek Reviewed By: djasper Subscribers: acoomans, cfe-commits Differential Revision: https://reviews.llvm.org/D50132 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338524 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp index ec96eaa98d..9a2da69e89 100644 --- a/lib/Format/Format.cpp +++ b/lib/Format/Format.cpp @@ -777,9 +777,11 @@ FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language) { { "EqualsProto", "EquivToProto", + "PARSE_PARTIAL_TEXT_PROTO", "PARSE_TEST_PROTO", "PARSE_TEXT_PROTO", "ParseTextOrDie", + "ParseTextProtoOrDie", }, /*CanonicalDelimiter=*/"", /*BasedOnStyle=*/"google",