[clang] f1ef237 - [Format] Add more proto enclosing function names

via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 16 09:05:05 PDT 2020


Author: Sam McCall
Date: 2020-06-16T18:05:01+02:00
New Revision: f1ef237df7c1b9f743c7a4cdcb50cf49f60c1698

URL: https://github.com/llvm/llvm-project/commit/f1ef237df7c1b9f743c7a4cdcb50cf49f60c1698
DIFF: https://github.com/llvm/llvm-project/commit/f1ef237df7c1b9f743c7a4cdcb50cf49f60c1698.diff

LOG: [Format] Add more proto enclosing function names

Added: 
    

Modified: 
    clang/lib/Format/Format.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index 1f7a8029bac0..d83410b1f7e1 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -1009,6 +1009,8 @@ FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language) {
               "PARSE_TEXT_PROTO",
               "ParseTextOrDie",
               "ParseTextProtoOrDie",
+              "ParseTestProto",
+              "ParsePartialTestProto",
           },
           /*CanonicalDelimiter=*/"",
           /*BasedOnStyle=*/"google",


        


More information about the cfe-commits mailing list