summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/Format.cpp
diff options
context:
space:
mode:
authorKrasimir Georgiev <krasimir@google.com>2018-02-16 12:10:06 +0000
committerKrasimir Georgiev <krasimir@google.com>2018-02-16 12:10:06 +0000
commit2fac8d94a94934387651dcc8c055666e7bca0895 (patch)
tree3b6f7c410057fc12adab1b570213c7845bc3c11b /clang/lib/Format/Format.cpp
parent02d3361c380d7de3ff53d5ac47fada1f3738840c (diff)
downloadbcm5719-llvm-2fac8d94a94934387651dcc8c055666e7bca0895.tar.gz
bcm5719-llvm-2fac8d94a94934387651dcc8c055666e7bca0895.zip
[clang-format] Enable google text proto formatting in R"proto('s
llvm-svn: 325336
Diffstat (limited to 'clang/lib/Format/Format.cpp')
-rw-r--r--clang/lib/Format/Format.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index af03696cf89..e77314d255d 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -715,6 +715,8 @@ FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language) {
{
"pb",
"PB",
+ "proto",
+ "PROTO",
},
/*EnclosingFunctionNames=*/
{},
OpenPOWER on IntegriCloud