r338524 - [clang-format] Add some text proto functions to Google style
Krasimir Georgiev via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 1 05:35:24 PDT 2018
Author: krasimir
Date: Wed Aug 1 05:35:23 2018
New Revision: 338524
URL: http://llvm.org/viewvc/llvm-project?rev=338524&view=rev
Log:
[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
Modified:
cfe/trunk/lib/Format/Format.cpp
Modified: cfe/trunk/lib/Format/Format.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/Format.cpp?rev=338524&r1=338523&r2=338524&view=diff
==============================================================================
--- cfe/trunk/lib/Format/Format.cpp (original)
+++ cfe/trunk/lib/Format/Format.cpp Wed Aug 1 05:35:23 2018
@@ -777,9 +777,11 @@ FormatStyle getGoogleStyle(FormatStyle::
{
"EqualsProto",
"EquivToProto",
+ "PARSE_PARTIAL_TEXT_PROTO",
"PARSE_TEST_PROTO",
"PARSE_TEXT_PROTO",
"ParseTextOrDie",
+ "ParseTextProtoOrDie",
},
/*CanonicalDelimiter=*/"",
/*BasedOnStyle=*/"google",
More information about the cfe-commits
mailing list