[clang-format] Support additional common functions for text proto formatting

Summary: This adds a few more common function names expecting a text proto argument.

Reviewers: djasper

Reviewed By: djasper

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D48760

llvm-svn: 335978
This commit is contained in:
Krasimir Georgiev 2018-06-29 14:25:25 +00:00
parent dbaafe6766
commit 61f46f2247
1 changed files with 4 additions and 1 deletions

View File

@ -775,8 +775,11 @@ FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language) {
},
/*EnclosingFunctionNames=*/
{
"PARSE_TEXT_PROTO",
"EqualsProto",
"EquivToProto",
"PARSE_TEST_PROTO",
"PARSE_TEXT_PROTO",
"ParseTextOrDie",
},
/*CanonicalDelimiter=*/"",
/*BasedOnStyle=*/"google",