]> granicus.if.org Git - clang/commitdiff
[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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325336 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Format/Format.cpp

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