[PATCH] D48363: [clang-format] Enable text proto formatting in common functions
This revision was automatically updated to reflect the committed changes. Closed by commit rL335595: [clang-format] Enable text proto formatting in common functions (authored by krasimir, committed by ). Herald added a subscriber: llvm-commits. Repository: rL LLVM https://reviews.llvm.org/D48363 Files: cfe/trunk/lib/Format/Format.cpp Index: cfe/trunk/lib/Format/Format.cpp === --- cfe/trunk/lib/Format/Format.cpp +++ cfe/trunk/lib/Format/Format.cpp @@ -774,7 +774,10 @@ "PROTO", }, /*EnclosingFunctionNames=*/ - {}, + { + "PARSE_TEXT_PROTO", + "EqualsProto", + }, /*CanonicalDelimiter=*/"", /*BasedOnStyle=*/"google", }, Index: cfe/trunk/lib/Format/Format.cpp === --- cfe/trunk/lib/Format/Format.cpp +++ cfe/trunk/lib/Format/Format.cpp @@ -774,7 +774,10 @@ "PROTO", }, /*EnclosingFunctionNames=*/ - {}, + { + "PARSE_TEXT_PROTO", + "EqualsProto", + }, /*CanonicalDelimiter=*/"", /*BasedOnStyle=*/"google", }, ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[PATCH] D48363: [clang-format] Enable text proto formatting in common functions
djasper accepted this revision. djasper added a comment. This revision is now accepted and ready to land. Looks good. Repository: rC Clang https://reviews.llvm.org/D48363 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[PATCH] D48363: [clang-format] Enable text proto formatting in common functions
krasimir created this revision. Herald added a subscriber: cfe-commits. Repository: rC Clang https://reviews.llvm.org/D48363 Files: lib/Format/Format.cpp Index: lib/Format/Format.cpp === --- lib/Format/Format.cpp +++ lib/Format/Format.cpp @@ -774,7 +774,10 @@ "PROTO", }, /*EnclosingFunctionNames=*/ - {}, + { + "PARSE_TEXT_PROTO", + "EqualsProto", + }, /*CanonicalDelimiter=*/"", /*BasedOnStyle=*/"google", }, Index: lib/Format/Format.cpp === --- lib/Format/Format.cpp +++ lib/Format/Format.cpp @@ -774,7 +774,10 @@ "PROTO", }, /*EnclosingFunctionNames=*/ - {}, + { + "PARSE_TEXT_PROTO", + "EqualsProto", + }, /*CanonicalDelimiter=*/"", /*BasedOnStyle=*/"google", }, ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits