Skip to content

Commit

Permalink
[clang-format] Enable text proto formatting in common functions
Browse files Browse the repository at this point in the history
Subscribers: cfe-commits

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

llvm-svn: 335595
  • Loading branch information
krasimirgg committed Jun 26, 2018
1 parent b73efb8 commit 42948e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion clang/lib/Format/Format.cpp
Expand Up @@ -774,7 +774,10 @@ FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language) {
"PROTO",
},
/*EnclosingFunctionNames=*/
{},
{
"PARSE_TEXT_PROTO",
"EqualsProto",
},
/*CanonicalDelimiter=*/"",
/*BasedOnStyle=*/"google",
},
Expand Down

0 comments on commit 42948e3

Please sign in to comment.