Community
Participate
Working Groups
Using CDT 8.1.0.201111131105 Sample code: class A { virtual void foo(){} // on foo, InitCallback is in the call hierarchy template<typename C> void SetCallback(C callback){} void InitCallback() { SetCallback(&A::foo); } }; class B: public A { virtual void foo(){} // on foo, InitCallback is NOT in the call hierarchy };
Added testcase and fix.
*** cdt git genie on behalf of Markus Schorn *** Bug 363731: Call Hierarchy for address of overridden method. [*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=c83768bd6f1b5629264a817b75e6f0eab15857ad
Thank you, that fixes the problem in my environment too.