Thrift: Merging external patch.
authorDavid Reiss <dreiss@apache.org>
Tue, 14 Aug 2007 19:59:26 +0000 (19:59 +0000)
committerDavid Reiss <dreiss@apache.org>
Tue, 14 Aug 2007 19:59:26 +0000 (19:59 +0000)
commit8320a92d9b07f8dc5f7d9f0517a28bec64ce20e2
tree6003fc152953dc859d076eb7f57ffacdfd0b289a
parentcbd4bacc307c0103aa07d5bbc2104e14b8a29aac
Thrift: Merging external patch.

Summary:
Merging a patch from Andy Lutomirsky.
- Allow fields to be marked "required" or "optional" (only affects C++).
- Thrift structs now have operator ==.

Reviewed By: mcslee

Test Plan: test/OptionalRequiredTest.cpp

Revert Plan: ok

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665202 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_cpp_generator.cc
compiler/cpp/src/parse/t_field.h
compiler/cpp/src/thriftl.ll
compiler/cpp/src/thrifty.yy
test/OptionalRequiredTest.cpp [new file with mode: 0644]
test/OptionalRequiredTest.thrift [new file with mode: 0644]
thrift.el
thrift.vim