Index: third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h |
diff --git a/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h b/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h |
index 6a3a52386f4a7424913cfe6ce31e7188d8629194..ac0639830745f9f2f17e8d7792b177e2a430198e 100644 |
--- a/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h |
+++ b/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h |
@@ -112,6 +112,9 @@ string GlobalAssignDescriptorsName(const string& filename); |
// Return the name of the ShutdownFile() function for a given file. |
string GlobalShutdownFileName(const string& filename); |
+// Escape C++ trigraphs by escaping question marks to \? |
+string EscapeTrigraphs(const string& to_escape); |
+ |
// Do message classes in this file keep track of unknown fields? |
inline bool HasUnknownFields(const FileDescriptor *file) { |
return file->options().optimize_for() != FileOptions::LITE_RUNTIME || |