Thrift: Add a useful helper function (in compiler).
authorDavid Reiss <dreiss@apache.org>
Wed, 15 Aug 2007 00:55:41 +0000 (00:55 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 15 Aug 2007 00:55:41 +0000 (00:55 +0000)
commit3429b6a9a046bbc4bd6e476467aca89ce7317cc2
treea2cd5155f67070a001dc4ffc7498566735b5ec70
parent8320a92d9b07f8dc5f7d9f0517a28bec64ce20e2
Thrift: Add a useful helper function (in compiler).

Summary:
Add a function to t_generator to traverse the typedef chain.

Reviewed By: mcslee

Test Plan:
Rebuilt thrift.
Re-thrifted ThriftTest.thrift.
Saw that the output was unchanged.

Revert Plan: ok

Notes:
Converting all of the generators to use this will happen later.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665203 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_cpp_generator.cc
compiler/cpp/src/generate/t_generator.h