diff options
author | Alena Laskavaia | 2010-08-18 14:13:36 +0000 |
---|---|---|
committer | Alena Laskavaia | 2010-08-18 14:13:36 +0000 |
commit | 92009d5090b7170d4c406d7a70fb293f7b9c3fbb (patch) | |
tree | 9d58628b32f9b8f181608011ccc349d9a842b299 /codan/org.eclipse.cdt.codan.core.cxx/src | |
parent | 2d5e046e1c36a7e9de0d84533758447b5be51434 (diff) | |
download | org.eclipse.cdt-92009d5090b7170d4c406d7a70fb293f7b9c3fbb.tar.gz org.eclipse.cdt-92009d5090b7170d4c406d7a70fb293f7b9c3fbb.tar.xz org.eclipse.cdt-92009d5090b7170d4c406d7a70fb293f7b9c3fbb.zip |
Bug 321437 - passing a null index as the effect of not skipping any headers. Patch from Marc-Andre Laperle
Diffstat (limited to 'codan/org.eclipse.cdt.codan.core.cxx/src')
-rw-r--r-- | codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/CxxAstUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/CxxAstUtils.java b/codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/CxxAstUtils.java index 4371c739f30..1521fb66ca4 100644 --- a/codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/CxxAstUtils.java +++ b/codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/CxxAstUtils.java @@ -385,7 +385,7 @@ public final class CxxAstUtils { for (IIndexName decl : declarations) { ITranslationUnit tu = getTranslationUnitFromIndexName(decl); - IASTNode node = tu.getAST(null, + IASTNode node = tu.getAST(index, ITranslationUnit.AST_SKIP_INDEXED_HEADERS) .getNodeSelector(null).findEnclosingNode( decl.getNodeOffset(), |