http://llvm.org/bugs/show_bug.cgi?id=8526
Douglas Gregor <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #2 from Douglas Gregor <[email protected]> 2010-11-02 10:30:27 CDT --- Clang is doing the right thing here. The code is well-formed, as far as I can tell. However, Clang is not emitting Foo::bar() because it has internal linkage and is never used. If you add an external function that calls it, e.g., void blah() { Foo f; f.bar(); } then Clang will generate code for Foo::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
