[cfe-commits] r61797 - /cfe/trunk/include/clang/AST/DeclBase.h


Are you asking about this patch or lookup decl in particular? I also agree that having tons of different flags on lookupdecl is suboptimal. Instead of having lots of bools, it would be better to use |'d together enums. It's easier to tell what LookupDecl(..., LD_NameSpaceOnly|LD_FOOBar) does than LookupDecl(..., true, false, false, true).