1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fix for 94434: [SearchEngine] returns typedef as a definition for C++

This commit is contained in:
Bogdan Gheorghe 2005-06-29 15:58:51 +00:00
parent 6314ff0d79
commit 4c2bd01885
2 changed files with 3 additions and 2 deletions

View file

@ -15,7 +15,8 @@ import org.eclipse.core.runtime.IPath;
/**
* Generic indexer query interface to allow for queries of any existing indexer storage mechanism
* To be considered in development.
* To be considered in development - not currently hooked up, but as a placeholder for future clients.
* See Bugzilla # 96775 for more details.
* @author bgheorgh
* @since 3.0
*/

View file

@ -192,7 +192,7 @@ class CTagEntry{
typeEntry.setBaseTypes(getInherits());
typeEntry.serialize(output);
} else if (kind.equals(CTagsConsoleParser.TYPEDEF)){
TypeEntry typeEntry = new TypeEntry(IIndex.TYPE_TYPEDEF,IIndex.DEFINITION, fullName, getModifiers(), fileNum);
TypeEntry typeEntry = new TypeEntry(IIndex.TYPE_TYPEDEF,IIndex.DECLARATION, fullName, getModifiers(), fileNum);
typeEntry.setNameOffset(lineNumber, 1, IIndex.LINE);
typeEntry.serialize(output);
} else if (kind.equals(CTagsConsoleParser.UNION)){