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

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 6 00:26:13 PDT 2010


           Summary: Inconsistent treatment of using declarations
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: chris at bubblescope.net
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com

In the following code, clang complains about g, but not about f. Comeau and g++
are both happy with all of it.

namespace X
    int f();
    int g();

using X::f;
using X::f;

void h()
  using X::g;
  using X::g;

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