On Jan 9, 2009, at 12:18 PM, Douglas Gregor wrote: > Author: dgregor > Date: Fri Jan 9 11:18:27 2009 > New Revision: 61994 > > URL: http://llvm.org/viewvc/llvm-project?rev=61994&view=rev > Log: > Provide a new kind of iterator, the specific_decl_iterator, that > filters the decls seen by decl_iterator with two criteria: the dynamic > type of the declaration and a run-time predicate described by a member > function. This simplifies EnumDecl, RecordDecl, and ObjCContainerDecl > considerably. It has no measurable performance impact. >
This is much nicer...thanks Doug! snaroff _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
