template typedefs are not supposed to be incomplete types

This commit is contained in:
Gustavo J. A. M. Carneiro committed 2008-03-16 18:37:39 +00:00
1 parent d521e25769
commit eee739fcdc
1 file changed
+2
+2
View File
@@ -577,6 +577,8 @@ class ModuleParser(object):
cls = alias.type.declaration
if not isinstance(cls, class_declaration_t):
continue # fully defined classes handled further below
if templates.is_instantiation(cls.decl_string):
continue # typedef to template instantiations, must be fully defined
global_annotations, param_annotations = \
annotations_scanner.get_annotations(cls.location.file_name,