| Summary: | Open declaration from source navigates to header but does not return to source | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Steve <my_bz> |
| Component: | cdt-source-nav | Assignee: | Markus Schorn <mschorn.eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | Markus Schorn <mschorn.eclipse> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug, my_bz |
| Version: | 7.0 | ||
| Target Milestone: | 7.0.2 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
The example works both with 7.0.2 and 8.0. |
Build Identifier: 20100218-1602 In source file, press F3 on a function that has a templated variable, this opens the header file and places at the function. In header file, press F3 on a function that has a templated variable, this does not open the source. In the source the function appears to be public and yet the function in the header file is protected. Reproducible: Always Steps to Reproduce: #ifndef OPENDEC_H #define OPENDEC_H template< size_t SIZE > class my_string { public: my_string( void ); protected: char data_[ SIZE + 1 ]; }; template< size_t SIZE > my_string< SIZE >::my_string( void ) { } class my_funcs { public: my_funcs(void); ~my_funcs(void); protected: void my_f1( my_string<10> &my_str ); }; #endif /* OPENDEC_H_ */ C++ source #include <opendec.h> void my_funcs::my_f1( my_string<10> &mystr ) { }