| Index: third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc
|
| ===================================================================
|
| --- third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc (revision 216642)
|
| +++ third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc (working copy)
|
| @@ -1,14 +1,17 @@
|
| // Generated by the protocol buffer compiler. DO NOT EDIT!
|
| +// source: google/protobuf/compiler/plugin.proto
|
|
|
| #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
|
| #include "google/protobuf/compiler/plugin.pb.h"
|
|
|
| #include <algorithm>
|
|
|
| +#include <google/protobuf/stubs/common.h>
|
| #include <google/protobuf/stubs/once.h>
|
| #include <google/protobuf/io/coded_stream.h>
|
| #include <google/protobuf/wire_format_lite_inl.h>
|
| #include <google/protobuf/descriptor.h>
|
| +#include <google/protobuf/generated_message_reflection.h>
|
| #include <google/protobuf/reflection_ops.h>
|
| #include <google/protobuf/wire_format.h>
|
| // @@protoc_insertion_point(includes)
|
| @@ -124,6 +127,7 @@
|
| if (already_here) return;
|
| already_here = true;
|
| GOOGLE_PROTOBUF_VERIFY_VERSION;
|
| +
|
| ::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
|
| ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
| "\n%google/protobuf/compiler/plugin.proto\022"
|
| @@ -253,7 +257,7 @@
|
| if (input->ExpectTag(18)) goto parse_parameter;
|
| break;
|
| }
|
| -
|
| +
|
| // optional string parameter = 2;
|
| case 2: {
|
| if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| @@ -270,7 +274,7 @@
|
| if (input->ExpectTag(122)) goto parse_proto_file;
|
| break;
|
| }
|
| -
|
| +
|
| // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
|
| case 15: {
|
| if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| @@ -285,14 +289,15 @@
|
| if (input->ExpectAtEnd()) return true;
|
| break;
|
| }
|
| -
|
| +
|
| default: {
|
| handle_uninterpreted:
|
| if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
| return true;
|
| }
|
| - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag, mutable_unknown_fields()));
|
| + DO_(::google::protobuf::internal::WireFormatLite::SkipField(
|
| + input, tag, mutable_unknown_fields()));
|
| break;
|
| }
|
| }
|
| @@ -311,7 +316,7 @@
|
| ::google::protobuf::internal::WireFormatLite::WriteString(
|
| 1, this->file_to_generate(i), output);
|
| }
|
| -
|
| +
|
| // optional string parameter = 2;
|
| if (has_parameter()) {
|
| ::google::protobuf::internal::WireFormat::VerifyUTF8String(
|
| @@ -320,13 +325,13 @@
|
| ::google::protobuf::internal::WireFormatLite::WriteString(
|
| 2, this->parameter(), output);
|
| }
|
| -
|
| +
|
| // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
|
| for (int i = 0; i < this->proto_file_size(); i++) {
|
| ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
| 15, this->proto_file(i), output);
|
| }
|
| -
|
| +
|
| if (!unknown_fields().empty()) {
|
| ::google::protobuf::internal::WireFormatLite::SerializeUnknownFields(
|
| unknown_fields(), output);
|
| @@ -343,7 +348,7 @@
|
| target = ::google::protobuf::internal::WireFormatLite::
|
| WriteStringToArray(1, this->file_to_generate(i), target);
|
| }
|
| -
|
| +
|
| // optional string parameter = 2;
|
| if (has_parameter()) {
|
| ::google::protobuf::internal::WireFormat::VerifyUTF8String(
|
| @@ -353,14 +358,14 @@
|
| ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
| 2, this->parameter(), target);
|
| }
|
| -
|
| +
|
| // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
|
| for (int i = 0; i < this->proto_file_size(); i++) {
|
| target = ::google::protobuf::internal::WireFormatLite::
|
| WriteMessageNoVirtualToArray(
|
| 15, this->proto_file(i), target);
|
| }
|
| -
|
| +
|
| if (!unknown_fields().empty()) {
|
| target = ::google::protobuf::internal::WireFormatLite::SerializeUnknownFieldsToArray(
|
| unknown_fields(), target);
|
| @@ -370,7 +375,7 @@
|
|
|
| int CodeGeneratorRequest::ByteSize() const {
|
| int total_size = 0;
|
| -
|
| +
|
| if (_has_bits_[1 / 32] & (0xffu << (1 % 32))) {
|
| // optional string parameter = 2;
|
| if (has_parameter()) {
|
| @@ -378,7 +383,7 @@
|
| ::google::protobuf::internal::WireFormatLite::StringSize(
|
| this->parameter());
|
| }
|
| -
|
| +
|
| }
|
| // repeated string file_to_generate = 1;
|
| total_size += 1 * this->file_to_generate_size();
|
| @@ -386,7 +391,7 @@
|
| total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
|
| this->file_to_generate(i));
|
| }
|
| -
|
| +
|
| // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
|
| total_size += 1 * this->proto_file_size();
|
| for (int i = 0; i < this->proto_file_size(); i++) {
|
| @@ -394,7 +399,7 @@
|
| ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
| this->proto_file(i));
|
| }
|
| -
|
| +
|
| if (!unknown_fields().empty()) {
|
| total_size +=
|
| ::google::protobuf::internal::WireFormatLite::ComputeUnknownFieldsSize(
|
| @@ -443,7 +448,7 @@
|
| }
|
|
|
| bool CodeGeneratorRequest::IsInitialized() const {
|
| -
|
| +
|
| for (int i = 0; i < proto_file_size(); i++) {
|
| if (!this->proto_file(i).IsInitialized()) return false;
|
| }
|
| @@ -582,7 +587,7 @@
|
| if (input->ExpectTag(18)) goto parse_insertion_point;
|
| break;
|
| }
|
| -
|
| +
|
| // optional string insertion_point = 2;
|
| case 2: {
|
| if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| @@ -599,7 +604,7 @@
|
| if (input->ExpectTag(122)) goto parse_content;
|
| break;
|
| }
|
| -
|
| +
|
| // optional string content = 15;
|
| case 15: {
|
| if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| @@ -616,14 +621,15 @@
|
| if (input->ExpectAtEnd()) return true;
|
| break;
|
| }
|
| -
|
| +
|
| default: {
|
| handle_uninterpreted:
|
| if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
| return true;
|
| }
|
| - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag, mutable_unknown_fields()));
|
| + DO_(::google::protobuf::internal::WireFormatLite::SkipField(
|
| + input, tag, mutable_unknown_fields()));
|
| break;
|
| }
|
| }
|
| @@ -642,7 +648,7 @@
|
| ::google::protobuf::internal::WireFormatLite::WriteString(
|
| 1, this->name(), output);
|
| }
|
| -
|
| +
|
| // optional string insertion_point = 2;
|
| if (has_insertion_point()) {
|
| ::google::protobuf::internal::WireFormat::VerifyUTF8String(
|
| @@ -651,7 +657,7 @@
|
| ::google::protobuf::internal::WireFormatLite::WriteString(
|
| 2, this->insertion_point(), output);
|
| }
|
| -
|
| +
|
| // optional string content = 15;
|
| if (has_content()) {
|
| ::google::protobuf::internal::WireFormat::VerifyUTF8String(
|
| @@ -660,7 +666,7 @@
|
| ::google::protobuf::internal::WireFormatLite::WriteString(
|
| 15, this->content(), output);
|
| }
|
| -
|
| +
|
| if (!unknown_fields().empty()) {
|
| ::google::protobuf::internal::WireFormatLite::SerializeUnknownFields(
|
| unknown_fields(), output);
|
| @@ -678,7 +684,7 @@
|
| ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
| 1, this->name(), target);
|
| }
|
| -
|
| +
|
| // optional string insertion_point = 2;
|
| if (has_insertion_point()) {
|
| ::google::protobuf::internal::WireFormat::VerifyUTF8String(
|
| @@ -688,7 +694,7 @@
|
| ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
| 2, this->insertion_point(), target);
|
| }
|
| -
|
| +
|
| // optional string content = 15;
|
| if (has_content()) {
|
| ::google::protobuf::internal::WireFormat::VerifyUTF8String(
|
| @@ -698,7 +704,7 @@
|
| ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
| 15, this->content(), target);
|
| }
|
| -
|
| +
|
| if (!unknown_fields().empty()) {
|
| target = ::google::protobuf::internal::WireFormatLite::SerializeUnknownFieldsToArray(
|
| unknown_fields(), target);
|
| @@ -708,7 +714,7 @@
|
|
|
| int CodeGeneratorResponse_File::ByteSize() const {
|
| int total_size = 0;
|
| -
|
| +
|
| if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
| // optional string name = 1;
|
| if (has_name()) {
|
| @@ -716,21 +722,21 @@
|
| ::google::protobuf::internal::WireFormatLite::StringSize(
|
| this->name());
|
| }
|
| -
|
| +
|
| // optional string insertion_point = 2;
|
| if (has_insertion_point()) {
|
| total_size += 1 +
|
| ::google::protobuf::internal::WireFormatLite::StringSize(
|
| this->insertion_point());
|
| }
|
| -
|
| +
|
| // optional string content = 15;
|
| if (has_content()) {
|
| total_size += 1 +
|
| ::google::protobuf::internal::WireFormatLite::StringSize(
|
| this->content());
|
| }
|
| -
|
| +
|
| }
|
| if (!unknown_fields().empty()) {
|
| total_size +=
|
| @@ -784,7 +790,7 @@
|
| }
|
|
|
| bool CodeGeneratorResponse_File::IsInitialized() const {
|
| -
|
| +
|
| return true;
|
| }
|
|
|
| @@ -902,7 +908,7 @@
|
| if (input->ExpectTag(122)) goto parse_file;
|
| break;
|
| }
|
| -
|
| +
|
| // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
|
| case 15: {
|
| if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| @@ -917,14 +923,15 @@
|
| if (input->ExpectAtEnd()) return true;
|
| break;
|
| }
|
| -
|
| +
|
| default: {
|
| handle_uninterpreted:
|
| if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
| return true;
|
| }
|
| - DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag, mutable_unknown_fields()));
|
| + DO_(::google::protobuf::internal::WireFormatLite::SkipField(
|
| + input, tag, mutable_unknown_fields()));
|
| break;
|
| }
|
| }
|
| @@ -943,13 +950,13 @@
|
| ::google::protobuf::internal::WireFormatLite::WriteString(
|
| 1, this->error(), output);
|
| }
|
| -
|
| +
|
| // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
|
| for (int i = 0; i < this->file_size(); i++) {
|
| ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
| 15, this->file(i), output);
|
| }
|
| -
|
| +
|
| if (!unknown_fields().empty()) {
|
| ::google::protobuf::internal::WireFormatLite::SerializeUnknownFields(
|
| unknown_fields(), output);
|
| @@ -967,14 +974,14 @@
|
| ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
| 1, this->error(), target);
|
| }
|
| -
|
| +
|
| // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
|
| for (int i = 0; i < this->file_size(); i++) {
|
| target = ::google::protobuf::internal::WireFormatLite::
|
| WriteMessageNoVirtualToArray(
|
| 15, this->file(i), target);
|
| }
|
| -
|
| +
|
| if (!unknown_fields().empty()) {
|
| target = ::google::protobuf::internal::WireFormatLite::SerializeUnknownFieldsToArray(
|
| unknown_fields(), target);
|
| @@ -984,7 +991,7 @@
|
|
|
| int CodeGeneratorResponse::ByteSize() const {
|
| int total_size = 0;
|
| -
|
| +
|
| if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
| // optional string error = 1;
|
| if (has_error()) {
|
| @@ -992,7 +999,7 @@
|
| ::google::protobuf::internal::WireFormatLite::StringSize(
|
| this->error());
|
| }
|
| -
|
| +
|
| }
|
| // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
|
| total_size += 1 * this->file_size();
|
| @@ -1001,7 +1008,7 @@
|
| ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
| this->file(i));
|
| }
|
| -
|
| +
|
| if (!unknown_fields().empty()) {
|
| total_size +=
|
| ::google::protobuf::internal::WireFormatLite::ComputeUnknownFieldsSize(
|
| @@ -1049,7 +1056,7 @@
|
| }
|
|
|
| bool CodeGeneratorResponse::IsInitialized() const {
|
| -
|
| +
|
| return true;
|
| }
|
|
|
|
|