mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fix for bug#58563
This commit is contained in:
parent
09739d577e
commit
0f799bb0a8
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
|||
2004-04-16 Hoda Amer
|
||||
Fix for bug#58563 : [RenameRefactoring] renaming #include statements
|
||||
|
||||
2004-04-15 Alain Magloire
|
||||
|
||||
Added Properties for the Binaries.
|
||||
|
|
|
@ -20,6 +20,7 @@ import org.eclipse.cdt.core.model.IEnumeration;
|
|||
import org.eclipse.cdt.core.model.IField;
|
||||
import org.eclipse.cdt.core.model.IFunction;
|
||||
import org.eclipse.cdt.core.model.IFunctionDeclaration;
|
||||
import org.eclipse.cdt.core.model.IInclude;
|
||||
import org.eclipse.cdt.core.model.IMacro;
|
||||
import org.eclipse.cdt.core.model.IMethod;
|
||||
import org.eclipse.cdt.core.model.IMethodDeclaration;
|
||||
|
@ -540,7 +541,8 @@ public class RenameElementProcessor extends RenameProcessor implements IReferenc
|
|||
if((element == null)
|
||||
|| (!(element instanceof ISourceReference))
|
||||
|| (element instanceof ITranslationUnit)
|
||||
|| (element instanceof IMacro)){
|
||||
|| (element instanceof IMacro)
|
||||
|| (element instanceof IInclude)){
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue