Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361999 - [Call Hierarchy] Empty call hierarchy on templated method in templated class
Summary: [Call Hierarchy] Empty call hierarchy on templated method in templated class
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-source-nav (show other bugs)
Version: 8.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 8.1.0   Edit
Assignee: Markus Schorn CLA
QA Contact: Markus Schorn CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-25 16:07 EDT by Marc-André Laperle CLA
Modified: 2012-02-23 11:33 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc-André Laperle CLA 2011-10-25 16:07:45 EDT
Using CDT 8.1.0.201110241007

template<typename T>
class Array
{
public:
    template<class TIterator>
    void erase(TIterator it) // Open call hierarchy on erase, it's empty
    {

    }
};

int main() {
    Array<int> test;
    int it;
    test.erase(it); // Open call hierarchy on erase, it's empty
}
Comment 1 Markus Schorn CLA 2011-11-02 10:05:09 EDT
Thanks for the example, added testcase and fix.
Comment 2 CDT Genie CLA 2011-11-02 10:23:02 EDT
*** cdt git genie on behalf of Markus Schorn ***

    Bug 361999: Call Hierarchy for instance of template-specialization.

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=ecfdcab4abb0a82f2a30e697b3823f0b3219cab6
Comment 3 Marc-André Laperle CLA 2011-11-03 12:10:34 EDT
Thank you, I can confirm that it fixed the issue in my environment.