r325336 - [clang-format] Enable google text proto formatting in R"proto('s

Krasimir Georgiev via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 16 04:10:06 PST 2018


Author: krasimir
Date: Fri Feb 16 04:10:06 2018
New Revision: 325336

URL: http://llvm.org/viewvc/llvm-project?rev=325336&view=rev
Log:
[clang-format] Enable google text proto formatting in R"proto('s

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

Modified: cfe/trunk/lib/Format/Format.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/Format.cpp?rev=325336&r1=325335&r2=325336&view=diff
==============================================================================
--- cfe/trunk/lib/Format/Format.cpp (original)
+++ cfe/trunk/lib/Format/Format.cpp Fri Feb 16 04:10:06 2018
@@ -715,6 +715,8 @@ FormatStyle getGoogleStyle(FormatStyle::
       {
           "pb",
           "PB",
+          "proto",
+          "PROTO",
       },
       /*EnclosingFunctionNames=*/
       {},




More information about the cfe-commits mailing list