[LLVMbugs] [Bug 5964] improve diagnostics for failed overload resolution during initialization

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Oct 14 20:00:59 PDT 2011


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

Eli Friedman <sharparrow1 at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |sharparrow1 at yahoo.com
         Resolution|                            |FIXED

--- Comment #1 from Eli Friedman <sharparrow1 at yahoo.com> 2011-10-14 22:00:59 CDT ---
On trunk:

<stdin>:9:16: error: address of overloaded function 'test' does not match
required type 'foo *()'
foo *(*X)() = &test<foo>;
               ^~~~~~~~~
<stdin>:7:7: note: candidate function
Pass *test() { return new PassName(); }
      ^
1 error generated.

This seems to be fixed.

-- 
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