aboutsummaryrefslogtreecommitdiffstats
path: root/ApiExtractor
diff options
context:
space:
mode:
authorMatthew Woehlke <matthew.woehlke@kitware.com>2013-08-27 19:30:53 -0400
committerJohn Cummings <jcummings2@users.sf.net>2013-09-25 15:59:13 +0200
commit02c6e63ac8dbb8acde3bc19abd36fff0db65fd11 (patch)
tree813d4851a52ad627bf7b564fb4338dafbfb85a42 /ApiExtractor
parent22aa9ced0d6b167ee835b4b184511c5df3f79591 (diff)
Remove useless code.
Remove code to set the type entry base container type in AbstractMetaBuilder::setupInheritance outside of setting up the container meta class. We do it anyway when the meta class is found, and fail if we can't find the meta class, so having just the type entry set is not really useful. (And this will allow us to simplify the code going forward.) Change-Id: I90389efc574d516703df0d6a26ba130769adfea7 Reviewed-by: John Cummings <jcummings2@users.sf.net>
Diffstat (limited to 'ApiExtractor')
-rw-r--r--ApiExtractor/abstractmetabuilder.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/ApiExtractor/abstractmetabuilder.cpp b/ApiExtractor/abstractmetabuilder.cpp
index b954ae510..8bac23cfc 100644
--- a/ApiExtractor/abstractmetabuilder.cpp
+++ b/ApiExtractor/abstractmetabuilder.cpp
@@ -1602,9 +1602,6 @@ bool AbstractMetaBuilder::setupInheritance(AbstractMetaClass *metaClass)
metaClass->typeEntry()->setBaseContainerType(templ->typeEntry());
return true;
}
- ComplexTypeEntry* baseContainerType = types->findContainerType(baseName);
- if (baseContainerType)
- metaClass->typeEntry()->setBaseContainerType(baseContainerType);
}
ReportHandler::warning(QString("template baseclass '%1' of '%2' is not known")