1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Stricter selection of dtors for Rename in File.

This commit is contained in:
Sergey Prigogin 2008-10-19 03:13:43 +00:00
parent 1671c73dd0
commit 955f724c97

View file

@ -68,10 +68,12 @@ public class LinkedNamesFinder {
if (target instanceof ICPPClassType) {
try {
ICPPConstructor[] constructors = ((ICPPClassType) target).getConstructors();
for (IBinding ctor : constructors) {
for (ICPPConstructor ctor : constructors) {
if (!ctor.isImplicit()) {
findBinding(ctor);
}
ICPPMethod[] methods = ((ICPPClassType) target).getMethods();
}
ICPPMethod[] methods = ((ICPPClassType) target).getDeclaredMethods();
for (ICPPMethod method : methods) {
if (method.isDestructor()) {
findBinding(method);