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:
parent
1671c73dd0
commit
955f724c97
1 changed files with 5 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue