[LLVMbugs] [Bug 7249] Crash in qualified member call when member function has same name as base class

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 4 13:46:46 PST 2011


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

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-03-04 15:46:44 CST ---
Fixed in r127037. We now get:


t2.cpp:11:19: error: qualified name refers into a specialization of function
      template 'base'
    v.base<double>::bar(3.2);
      ~~~~~~~~~~~~^
t2.cpp:6:31: note: function template 'base' declared here
    template<typename T> void base(const T& value) {}
                              ^

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