[LLVMbugs] [Bug 8136] clang doesn't detect invalid redeclarations after a using directive brings in something with the same name

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Oct 9 14:27:49 PDT 2011


Douglas Gregor <dgregor at apple.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Douglas Gregor <dgregor at apple.com> 2011-10-09 16:27:48 CDT ---
We properly detect this error now:

t.cpp:5:7: error: redefinition of 'A' as different kind of symbol
class A {};
t.cpp:1:11: note: previous definition is here
namespace A {

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