~ubuntu-branches/ubuntu/trusty/protobuf/trusty-proposed

« back to all changes in this revision

Viewing changes to src/google/protobuf/compiler/cpp/cpp_helpers.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2011-05-31 14:41:47 UTC
  • mfrom: (2.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20110531144147-s41g5fozgvyo462l
Tags: 2.4.0a-2ubuntu1
* Merge with Debian; remaining changes:
  - Fix linking with -lpthread.

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
// Return the name of the ShutdownFile() function for a given file.
113
113
string GlobalShutdownFileName(const string& filename);
114
114
 
 
115
// Escape C++ trigraphs by escaping question marks to \?
 
116
string EscapeTrigraphs(const string& to_escape);
 
117
 
115
118
// Do message classes in this file keep track of unknown fields?
116
119
inline bool HasUnknownFields(const FileDescriptor *file) {
117
120
  return file->options().optimize_for() != FileOptions::LITE_RUNTIME;