r1068@dev030 (orig r54951): dreiss | 2007-08-14 12:59:26 -0700
commitbfae9486c8a9651cfbb1dee27287ec054ea4ec26
author(no author) <(no author)@41a61cd8-c433-0410-bb1c-e256eeef9e11>
Tue, 14 Aug 2007 19:52:15 +0000 (14 19:52 +0000)
committer(no author) <(no author)@41a61cd8-c433-0410-bb1c-e256eeef9e11>
Tue, 14 Aug 2007 19:52:15 +0000 (14 19:52 +0000)
tree6003fc152953dc859d076eb7f57ffacdfd0b289a
parent65249cf4a8028f9db71f60ba056ba1b16e1023ee
 r1068@dev030 (orig r54951):  dreiss | 2007-08-14 12:59:26 -0700
 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: http://svn.facebook.com/svnroot/thrift/trunk@519 41a61cd8-c433-0410-bb1c-e256eeef9e11
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