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

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 20 05:41:37 PDT 2018


krasimir created this revision.
Herald added a subscriber: cfe-commits.

Repository:
  rC Clang

https://reviews.llvm.org/D48363

Files:
  lib/Format/Format.cpp


Index: lib/Format/Format.cpp
===================================================================
--- lib/Format/Format.cpp
+++ lib/Format/Format.cpp
@@ -774,7 +774,10 @@
               "PROTO",
           },
           /*EnclosingFunctionNames=*/
-          {},
+          {
+              "PARSE_TEXT_PROTO",
+              "EqualsProto",
+          },
           /*CanonicalDelimiter=*/"",
           /*BasedOnStyle=*/"google",
       },


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48363.152071.patch
Type: text/x-patch
Size: 440 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180620/b5ac233e/attachment.bin>


More information about the cfe-commits mailing list