This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: detect ambiguous types in using declarations


Ollie Wild wrote:

> :ADDPATCH c++:
> 
> 2007-08-06  Ollie Wild  <aaw@google.com>
> 
>      * name-lookup.c (do_nonmember_using_decl): Print an error for ambiguous
>      type lookups.
>      (ambiguous_decl): Construct tree of ambiguous types.  Remove extaneous
>      function parameter.
>      (unqualified_namespace_lookup): Fix ambiguous_decl call.
>      (lookup_using_namespace): Fix ambiguous_decl call.
>      (qualified_lookup_using_namespace): Fix ambiguous_decl call.
> 
> 2007-08-06  Ollie Wild <aaw@google.com>
> 
>     * g++.dg/lookup/using18.C: New test.

:REVIEWMAIL: OK

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]