Community
Participate
Working Groups
CDT 8.0.0.201101051202 I can't attach the code to help reproduce the bug but here's an illustration: Foo.h: class Foo { void bar(); }; Results in... Foo.cpp: void bar() { } I will try to reproduce it with a simple code or attach a patch.
Created attachment 186588 [details] Implement method, qualified name patch checkFileNameAndLocation was only checking the first node location, nodes can have multiple locations.
Created attachment 186589 [details] Implement method, qualified name patch Oops, removed redundant boolean check.
Fixed in 7.0 and HEAD > 20110112
*** cdt cvs genie on behalf of egraf *** Bug 334051: Implement method sometimes doesn't add class name to methods in .cpp <a href=https://bugs.eclipse.org/bugs/show_bug.cgi?id=334051>https://bugs.eclipse.org/bugs/show_bug.cgi?id=334051</a> Patch by Marc-Andre Laperle [*] NamespaceHelper.java 1.5 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/utils/NamespaceHelper.java?root=Tools_Project&r1=1.4&r2=1.5 [*] NamespaceHelper.java 1.4.4.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/utils/NamespaceHelper.java?root=Tools_Project&r1=1.4&r2=1.4.4.1