mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 455571 - Unable to rename C/C++ project if project has excluded
source folder entry
This commit is contained in:
parent
509d7cd337
commit
32cdeab66b
1 changed files with 5 additions and 3 deletions
|
@ -172,9 +172,11 @@ public class HeaderFileReferenceAdjuster {
|
|||
CoreModel coreModel = CoreModel.getDefault();
|
||||
for (IFile file : affectedFiles) {
|
||||
ITranslationUnit tu = (ITranslationUnit) coreModel.create(file);
|
||||
if (workingCopyManager.findSharedWorkingCopy(tu) != null)
|
||||
continue; // Shared working copies have already been processed.
|
||||
addFileChange(tu, changes, checker, progress.newChild(1));
|
||||
if (tu != null) {
|
||||
if (workingCopyManager.findSharedWorkingCopy(tu) != null)
|
||||
continue; // Shared working copies have already been processed.
|
||||
addFileChange(tu, changes, checker, progress.newChild(1));
|
||||
}
|
||||
}
|
||||
|
||||
if (!changes.isEmpty()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue