[LLVMbugs] [Bug 18574] clang++ accepts invalid using-directive

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 21 15:56:08 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=18574

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Why do you believe this is invalid? This code looks valid to me; it looks like
you found a GCC bug. EDG also accepts this code.

See [namespace.udecl]p19: "If a using-declaration uses the keyword typename and
specifies a dependent name, the name introduced by the using-declaration is
treated as a typedef-name."

Please reopen with an explanation if you still believe Clang is incorrect here.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140121/d222ea29/attachment.html>


More information about the llvm-bugs mailing list