forked from OSchip/llvm-project
[clang-format] Disable some text proto delimiters and functions for google style
Summary: This disables some of the most commonly used text proto delimiters and functions for google style until we resolve several style options for that style. In particular, wheter there should be a space surrounding braces ``msg { sub { key : value } }`` and the extent of packing of submessages on a same line. Reviewers: sammccall Reviewed By: sammccall Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D42651 llvm-svn: 323678
This commit is contained in:
parent
0ecb5e511e
commit
a83d3c576a
|
@ -709,17 +709,9 @@ FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language) {
|
|||
{
|
||||
"pb",
|
||||
"PB",
|
||||
"proto",
|
||||
"PROTO",
|
||||
"textproto",
|
||||
"TEXTPROTO",
|
||||
},
|
||||
/*EnclosingFunctionNames=*/
|
||||
{
|
||||
"EqualsProto",
|
||||
"PARSE_TEXT_PROTO",
|
||||
"ParseTextProto",
|
||||
},
|
||||
{},
|
||||
/*CanonicalDelimiter=*/"",
|
||||
/*BasedOnStyle=*/"google",
|
||||
}};
|
||||
|
|
Loading…
Reference in New Issue