summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/Format.cpp
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
commitce0b8d6935fc7647607fcfccb875aa64e69d58f7 (patch)
tree1b6f5abd56707bbfb44dacf296613e78531e55ba /clang/lib/Format/Format.cpp
parent894c8fd0e2b8ff8ed9a5d54ef3d0e0167bacb612 (diff)
downloadbcm5719-llvm-ce0b8d6935fc7647607fcfccb875aa64e69d58f7.tar.gz
bcm5719-llvm-ce0b8d6935fc7647607fcfccb875aa64e69d58f7.zip
[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 llvm-svn: 338524
Diffstat (limited to 'clang/lib/Format/Format.cpp')
-rw-r--r--clang/lib/Format/Format.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index ec96eaa98d0..9a2da69e89b 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/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",
OpenPOWER on IntegriCloud