r335595 - [clang-format] Enable text proto formatting in common functions
Krasimir Georgiev via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 26 05:00:15 PDT 2018
Author: krasimir
Date: Tue Jun 26 05:00:14 2018
New Revision: 335595
URL: http://llvm.org/viewvc/llvm-project?rev=335595&view=rev
Log:
[clang-format] Enable text proto formatting in common functions
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D48363
Modified:
cfe/trunk/lib/Format/Format.cpp
Modified: cfe/trunk/lib/Format/Format.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/Format.cpp?rev=335595&r1=335594&r2=335595&view=diff
==============================================================================
--- cfe/trunk/lib/Format/Format.cpp (original)
+++ cfe/trunk/lib/Format/Format.cpp Tue Jun 26 05:00:14 2018
@@ -774,7 +774,10 @@ FormatStyle getGoogleStyle(FormatStyle::
"PROTO",
},
/*EnclosingFunctionNames=*/
- {},
+ {
+ "PARSE_TEXT_PROTO",
+ "EqualsProto",
+ },
/*CanonicalDelimiter=*/"",
/*BasedOnStyle=*/"google",
},
More information about the cfe-commits
mailing list