[clang-format] Enable google text proto formatting in R"proto('s
authorKrasimir Georgiev <krasimir@google.com>
Fri, 16 Feb 2018 12:10:06 +0000 (12:10 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Fri, 16 Feb 2018 12:10:06 +0000 (12:10 +0000)
llvm-svn: 325336

clang/lib/Format/Format.cpp

index af03696..e77314d 100644 (file)
@@ -715,6 +715,8 @@ FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language) {
       {
           "pb",
           "PB",
+          "proto",
+          "PROTO",
       },
       /*EnclosingFunctionNames=*/
       {},