On Oct 22, 2008, at 2:13 PM, Douglas Gregor wrote: > Author: dgregor > Date: Wed Oct 22 16:13:31 2008 > New Revision: 58001 > > URL: http://llvm.org/viewvc/llvm-project?rev=58001&view=rev > Log: > Added GraphViz visualization of C++ inheritance hierarchies. > > Factored the QualTypeOrdering predicate into its own header > (TypeOrdering.h), now that it is used in two places.
Woo, cool! One random stream of thought question for you :), does this make sense to be a method on Type, or would it be possible to make this a driver option? If it's an option to the driver - "clang - view-inheritance" or something - this would get it out of libast. However, since it's just in a debug build, it probably isn't worth worrying about, and I can imagine that this is very useful in gdb. If this is only in debug builds, please #ifdef the out-of-line methods in InheritViz.cpp so that they don't get linked into release builds. -Chris _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
