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

             Bug #: 12287
           Summary: Add name resolution fixup for calling overloaded
                    function outside of method scope
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


In the following case the compiler should issue a fixup to insert :: before the
call to foo as the function in global scope matches the argument lookup whereas
the 'foo' in the class scope doesn't.

class A {
 void foo(bool);
};

void foo(int);

void A::foo(bool) {
 foo(3);
}

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to