[LLVMbugs] [Bug 7325] Clang too permissive with use of member function lacking a call

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 2 10:59:21 CDT 2010


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

Douglas Gregor <dgregor at apple.com> changed:

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

--- Comment #2 from Douglas Gregor <dgregor at apple.com> 2010-11-02 10:59:21 CDT ---
Argiris fixed this recently, IIRC. As of Clang r118001 we get:

t.cpp:6:9: error: a bound member function may only be used to call it
    if (xp->foo) { }
        ^~~~~~~

-- 
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 LLVMbugs mailing list