summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrasimir Georgiev <krasimir@google.com>2018-08-01 12:35:23 +0000
committerKrasimir Georgiev <krasimir@google.com>2018-08-01 12:35:23 +0000
commit2f0ca9047921086e5bff909d269a120d577f6341 (patch)
treeb2812c7196ed991ac0a111db8c871b05c44c14f4
parenta66da0edfb96e52bf96f3227cb59510721dac9d0 (diff)
[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
-rw-r--r--lib/Format/Format.cpp2
1 files changed, 2 insertions, 0 deletions
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",