template typedefs are not supposed to be incomplete types
This commit is contained in:
1 parent
d521e25769
commit
eee739fcdc
1 file changed
+2
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user