http://llvm.org/bugs/show_bug.cgi?id=6678
Douglas Gregor <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Douglas Gregor <[email protected]> 2011-10-31 10:48:49 CDT --- Top-of-tree Clang does much better: t.cpp:7:3: error: member function 'bar' not viable: 'this' argument has type 'const Foo', but function is not marked const x->bar(); ^ t.cpp:3:8: note: 'bar' declared here void bar(); ^ -- 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
