diff options
author | Krasimir Georgiev <krasimir@google.com> | 2018-06-26 12:00:14 +0000 |
---|---|---|
committer | Krasimir Georgiev <krasimir@google.com> | 2018-06-26 12:00:14 +0000 |
commit | 42948e3c8fdef23f319bdafc9c0c7784637ccac1 (patch) | |
tree | 8d8fc8fab271c4497fd7ac0f9e62624daed79749 /clang/lib/Format/Format.cpp | |
parent | b73efb85bab8e77b9149174a413cc98068c73294 (diff) | |
download | bcm5719-llvm-42948e3c8fdef23f319bdafc9c0c7784637ccac1.tar.gz bcm5719-llvm-42948e3c8fdef23f319bdafc9c0c7784637ccac1.zip |
[clang-format] Enable text proto formatting in common functions
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D48363
llvm-svn: 335595
Diffstat (limited to 'clang/lib/Format/Format.cpp')
-rw-r--r-- | clang/lib/Format/Format.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp index 374c25064a9..741584d138a 100644 --- a/clang/lib/Format/Format.cpp +++ b/clang/lib/Format/Format.cpp @@ -774,7 +774,10 @@ FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language) { "PROTO", }, /*EnclosingFunctionNames=*/ - {}, + { + "PARSE_TEXT_PROTO", + "EqualsProto", + }, /*CanonicalDelimiter=*/"", /*BasedOnStyle=*/"google", }, |