[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-dev] Bug #144096: Open Declaration does not work for constructor/destructor
|
I've created an attachment (id=43231)
(https://bugs.eclipse.org/bugs/attachment.cgi?id=43231&action=view)
For https://bugs.eclipse.org/bugs/show_bug.cgi?id=144096 bug 144096
This simple patch allows CPPVisitor.createBinding()
to fall through, and, finally, call addName() method.
As a result:
- Ctrl+F3 works for constructor and destructor like
for ordinary methods.
- CDT core tests are OK, as before.
- F3 works as before. Problem described in bug#144095 still exists.
Note: the modification affects Indexing process only.
So you have to perform reindexing (Full or Fast) to see changes.
Problem: althogh I have tested this change thoroughly,
may be some specific cases were missed. I am not absolutely
sure that this fix do not affect anything alse. But I have
not found any drawbacks yet.
-----------------------------------
With best regards, Oleg Krasilnikov
Software designer, Eclipse team.
Intel corp.
+7 8312 162 444 ext. 2587
(Russia, Nizhny Novgorod)