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

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 26 05:05:13 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL335595: [clang-format] Enable text proto formatting in common functions (authored by krasimir, committed by ).
Herald added a subscriber: llvm-commits.

Repository:
  rL LLVM

https://reviews.llvm.org/D48363

Files:
  cfe/trunk/lib/Format/Format.cpp


Index: cfe/trunk/lib/Format/Format.cpp
===================================================================
--- cfe/trunk/lib/Format/Format.cpp
+++ cfe/trunk/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.152872.patch
Type: text/x-patch
Size: 470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180626/42f35751/attachment-0001.bin>


More information about the cfe-commits mailing list