mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-05 00:36:16 +02:00
Fixes getIncludeFileEntries(IProject) for perFileScannerDiscovery.
This commit is contained in:
parent
e1a1a23783
commit
b608f3ec6b
1 changed files with 7 additions and 4 deletions
|
@ -8,6 +8,7 @@
|
|||
* Contributors:
|
||||
* QNX Software Systems - Initial API and implementation
|
||||
* Anton Leherbauer (Wind River Systems)
|
||||
* Markus Schorn (Wind River Systems)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.internal.core.model;
|
||||
|
||||
|
@ -180,8 +181,9 @@ public class PathEntryManager implements IPathEntryStoreListener, IElementChange
|
|||
List entryList = new ArrayList();
|
||||
ICProject cproject = celement.getCProject();
|
||||
ArrayList resolvedListEntries = getResolvedPathEntries(cproject, false);
|
||||
for (int i = 0; i < resolvedListEntries.size(); ++i) {
|
||||
IPathEntry entry = (IPathEntry)resolvedListEntries.get(i);
|
||||
IPathEntry[] pathEntries= getCachedResolvedPathEntries(resolvedListEntries, cproject);
|
||||
for (int i = 0; i < pathEntries.length; ++i) {
|
||||
IPathEntry entry = pathEntries[i];
|
||||
if ((entry.getEntryKind() & IPathEntry.CDT_INCLUDE_FILE) != 0) {
|
||||
entryList.add(entry);
|
||||
}
|
||||
|
@ -208,8 +210,9 @@ public class PathEntryManager implements IPathEntryStoreListener, IElementChange
|
|||
List entryList = new ArrayList();
|
||||
ICProject cproject = celement.getCProject();
|
||||
ArrayList resolvedListEntries = getResolvedPathEntries(cproject, false);
|
||||
for (int i = 0; i < resolvedListEntries.size(); ++i) {
|
||||
IPathEntry entry = (IPathEntry)resolvedListEntries.get(i);
|
||||
IPathEntry[] pathEntries= getCachedResolvedPathEntries(resolvedListEntries, cproject);
|
||||
for (int i = 0; i < pathEntries.length; ++i) {
|
||||
IPathEntry entry = pathEntries[i];
|
||||
if ((entry.getEntryKind() & IPathEntry.CDT_INCLUDE) != 0) {
|
||||
entryList.add(entry);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue