[cfe-commits] r61994 - in /cfe/trunk: Driver/ASTConsumers.cpp Driver/RewriteObjC.cpp include/clang/AST/Decl.h include/clang/AST/DeclBase.h include/clang/AST/DeclObjC.h lib/AST/ASTContext.cpp lib/AST/DeclObjC.cpp lib/CodeGen/CGCXX.cpp lib/CodeGen/CGCall.cpp lib/CodeGen/CGObjCGNU.cpp lib/CodeGen/CGObjCMac.cpp lib/CodeGen/CodeGenTypes.cpp lib/Sema/SemaDeclObjC.cpp lib/Sema/SemaExprObjC.cpp lib/Sema/SemaType.cpp

steve naroff snaroff at apple.com
Fri Jan 9 10:06:59 PST 2009


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




More information about the cfe-commits mailing list