소스 검색

Restore proxy method upon acozzette@ request

Yuriy Chernyshov 5 년 전
부모
커밋
397d34ca0e
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  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