[clang-format] Enable text proto formatting in common functions

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D48363

llvm-svn: 335595
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index 374c250..741584d 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -774,7 +774,10 @@
               "PROTO",
           },
           /*EnclosingFunctionNames=*/
-          {},
+          {
+              "PARSE_TEXT_PROTO",
+              "EqualsProto",
+          },
           /*CanonicalDelimiter=*/"",
           /*BasedOnStyle=*/"google",
       },