diff options
author | Markus Schorn | 2012-01-27 09:59:00 +0000 |
---|---|---|
committer | Markus Schorn | 2012-01-27 10:00:22 +0000 |
commit | fa55d3662d571d16f7c82de3574168d6c0971f04 (patch) | |
tree | 43b5302e29e6075d5dd935beb020a1e580aa3978 /core/org.eclipse.cdt.core/browser | |
parent | fcb45b96599fc05a0afa64f63360d99f2ea3fa3d (diff) | |
download | org.eclipse.cdt-fa55d3662d571d16f7c82de3574168d6c0971f04.tar.gz org.eclipse.cdt-fa55d3662d571d16f7c82de3574168d6c0971f04.tar.xz org.eclipse.cdt-fa55d3662d571d16f7c82de3574168d6c0971f04.zip |
Bug 368160: Dependent projects and SDKs.
Diffstat (limited to 'core/org.eclipse.cdt.core/browser')
-rw-r--r-- | core/org.eclipse.cdt.core/browser/org/eclipse/cdt/core/browser/AllTypesCache.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.core/browser/org/eclipse/cdt/core/browser/AllTypesCache.java b/core/org.eclipse.cdt.core/browser/org/eclipse/cdt/core/browser/AllTypesCache.java index d63bc6072f6..57eb60715b8 100644 --- a/core/org.eclipse.cdt.core/browser/org/eclipse/cdt/core/browser/AllTypesCache.java +++ b/core/org.eclipse.cdt.core/browser/org/eclipse/cdt/core/browser/AllTypesCache.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004, 2009 QNX Software Systems and others. + * Copyright (c) 2004, 2012 QNX Software Systems and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -18,6 +18,7 @@ import org.eclipse.cdt.core.CCorePlugin; import org.eclipse.cdt.core.dom.ast.IBinding; import org.eclipse.cdt.core.index.IIndex; import org.eclipse.cdt.core.index.IIndexBinding; +import org.eclipse.cdt.core.index.IIndexManager; import org.eclipse.cdt.core.index.IndexFilter; import org.eclipse.cdt.core.model.CoreModel; import org.eclipse.cdt.core.model.ICElement; @@ -47,7 +48,7 @@ public class AllTypesCache { private static final boolean DEBUG = false; private static ITypeInfo[] getTypes(ICProject[] projects, final int[] kinds, IProgressMonitor monitor) throws CoreException { - IIndex index = CCorePlugin.getIndexManager().getIndex(projects); + IIndex index = CCorePlugin.getIndexManager().getIndex(projects, IIndexManager.ADD_EXTENSION_FRAGMENTS_NAVIGATION); try { index.acquireReadLock(); |