/[Apache-SVN]
ViewVC logotype

Revision 665220


Jump to revision: Previous Next
Author: dreiss
Date: Thu Aug 23 21:43:25 2007 UTC (17 years, 2 months ago)
Changed paths: 12
Log Message:
Thrift: Make use of get_true_type.

Summary:
We added a helper function for the generators: get_true_type,
which finds the actual type behind a series of typedefs
(though the compiler only supports one layer of typedefs now).
This change uses it everywhere we used to have that loop.
(It was a lot of places.)

Reviewed By: mcslee

Test Plan: test/ManyTypedefs.thrift

Revert Plan: ok


Changed paths

Path Details
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_cpp_generator.h modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_erl_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_hs_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_java_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_java_generator.h modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_ocaml_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_perl_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_php_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_py_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_rb_generator.cc modified , text changed
Directoryincubator/thrift/trunk/test/ManyTypedefs.thrift added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26