Hi, > -----Message d'origine----- > De : Chris Lattner [mailto:[EMAIL PROTECTED] > > which seems a bit simpler. Also, can you come up with an example > which would hit the TagDecl case here yet?
Sorry for the wait. Here is a slightly modified patch following your indications. We can't it the TagDecl because: The function is called in Sema::ActOnDeclarator On line 726 of semadecl.cpp only if a previous decl was found in the ordinary namespace (ScopedDecl *PrevDecl = LookupScopedDecl(II, Decl::IDNS_Ordinary,...). However, the type wich would cause to hit the tagdecl live in the Tag namespace IDNS_Tag. So until we implement the basic C++ name lookup, I don't think we can hit the tagdecl case. Regards, Cédric
CppMergedTypedef.patch
Description: Binary data
_______________________________________________ cfe-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
