[clang-format] Support additional common functions for text proto formatting
Summary: This adds a few more common function names expecting a text proto argument.
Reviewers: djasper
Reviewed By: djasper
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D48760
llvm-svn: 335978
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index 741584d..59d3430 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -775,8 +775,11 @@
},
/*EnclosingFunctionNames=*/
{
- "PARSE_TEXT_PROTO",
"EqualsProto",
+ "EquivToProto",
+ "PARSE_TEST_PROTO",
+ "PARSE_TEXT_PROTO",
+ "ParseTextOrDie",
},
/*CanonicalDelimiter=*/"",
/*BasedOnStyle=*/"google",