diff options
author | Paul Yang <paulyang1211@gmail.com> | 2015-05-21 11:20:15 -0700 |
---|---|---|
committer | Paul Yang <paulyang1211@gmail.com> | 2015-05-21 11:20:15 -0700 |
commit | c3480926f98eb7c45224daae5cf0373e120b3b8d (patch) | |
tree | 3f57dbd6399e2496a6c797fb59a71ac00e949552 /src/google/protobuf/compiler/objectivec/objectivec_message.cc | |
parent | 3668a224f3ea870a1b8026ba0709f964ed75d53b (diff) | |
parent | ce55ff9441753164a34f31a48572ea2f1fb38aba (diff) |
Merge pull request #402 from thomasvl/objc_on_win
Getting the ObjC generator building on Windows.
Diffstat (limited to 'src/google/protobuf/compiler/objectivec/objectivec_message.cc')
-rw-r--r-- | src/google/protobuf/compiler/objectivec/objectivec_message.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/google/protobuf/compiler/objectivec/objectivec_message.cc b/src/google/protobuf/compiler/objectivec/objectivec_message.cc index 87e4d0f8..f6a5852d 100644 --- a/src/google/protobuf/compiler/objectivec/objectivec_message.cc +++ b/src/google/protobuf/compiler/objectivec/objectivec_message.cc @@ -119,6 +119,9 @@ int OrderGroupForFieldDescriptor(const FieldDescriptor* descriptor) { case FieldDescriptor::TYPE_BOOL: return 1; } + + GOOGLE_LOG(FATAL) << "Can't get here."; + return 0; } struct FieldOrderingByStorageSize { @@ -303,8 +306,6 @@ void MessageGenerator::GenerateMessageHeader(io::Printer* printer) { return; } - WriteClassNameToClassList(class_name_); - if (IsFiltered()) { printer->Print("// $filter_reason$\n\n", "filter_reason", filter_reason_); |