From ce0b8d6935fc7647607fcfccb875aa64e69d58f7 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Wed, 1 Aug 2018 12:35:23 +0000 Subject: [PATCH] [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 --- clang/lib/Format/Format.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp index ec96eaa..9a2da69 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", -- 2.7.4