[LLVMbugs] [Bug 7065] Inconsistent treatment of using declarations

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 6 07:16:07 PDT 2010


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

Douglas Gregor <dgregor at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Douglas Gregor <dgregor at apple.com> 2010-05-06 09:16:07 CDT ---
Clang is correct; Comeau and g++ are wrong not to diagnose these errors. See
C++ [namespace.udecl]p10:

  A using-declaration is a declaration and can therefore be used repeatedly
where (and only where) multiple declarations are allowed.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list