summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/Format.cpp
diff options
context:
space:
mode:
authorKrasimir Georgiev <krasimir@google.com>2018-06-26 12:00:14 +0000
committerKrasimir Georgiev <krasimir@google.com>2018-06-26 12:00:14 +0000
commit42948e3c8fdef23f319bdafc9c0c7784637ccac1 (patch)
tree8d8fc8fab271c4497fd7ac0f9e62624daed79749 /clang/lib/Format/Format.cpp
parentb73efb85bab8e77b9149174a413cc98068c73294 (diff)
downloadbcm5719-llvm-42948e3c8fdef23f319bdafc9c0c7784637ccac1.tar.gz
bcm5719-llvm-42948e3c8fdef23f319bdafc9c0c7784637ccac1.zip
[clang-format] Enable text proto formatting in common functions
Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D48363 llvm-svn: 335595
Diffstat (limited to 'clang/lib/Format/Format.cpp')
-rw-r--r--clang/lib/Format/Format.cpp5
1 files changed, 4 insertions, 1 deletions
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",
},
OpenPOWER on IntegriCloud