Bläddra i källkod

Restore proxy method upon acozzette@ request

Yuriy Chernyshov 5 år sedan
förälder
incheckning
397d34ca0e
1 ändrade filer med 8 tillägg och 0 borttagningar
  1. 8 0
      src/google/protobuf/compiler/cpp/cpp_helpers.h

+ 8 - 0
src/google/protobuf/compiler/cpp/cpp_helpers.h

@@ -877,6 +877,14 @@ void GenerateParserLoop(const Descriptor* descriptor, int num_hasbits,
                         const Options& options,
                         MessageSCCAnalyzer* scc_analyzer, io::Printer* printer);
 
+inline std::string StripProto(const std::string& filename) {
+  /*
+   * TODO(github/georgthegreat) remove this proxy method
+   * once Google's internal codebase will become ready
+   */
+  return compiler::StripProto(filename);
+}
+
 }  // namespace cpp
 }  // namespace compiler
 }  // namespace protobuf