From 42948e3c8fdef23f319bdafc9c0c7784637ccac1 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Tue, 26 Jun 2018 12:00:14 +0000 Subject: [clang-format] Enable text proto formatting in common functions Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D48363 llvm-svn: 335595 --- clang/lib/Format/Format.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'clang/lib/Format') diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp index 374c25064a9..741584d138a 100644 --- a/clang/lib/Format/Format.cpp +++ b/clang/lib/Format/Format.cpp @@ -774,7 +774,10 @@ FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language) { "PROTO", }, /*EnclosingFunctionNames=*/ - {}, + { + "PARSE_TEXT_PROTO", + "EqualsProto", + }, /*CanonicalDelimiter=*/"", /*BasedOnStyle=*/"google", }, -- cgit v1.2.3