Closed deadlocklogic closed 1 year ago
Thanks for reporting, I apparently just forgot to consider variable declarations.
Just a side question. why the semantic_parent
refers to the cpp_class_template
and not to the cpp_class
as the declaration is contained in the latter? Thanks.
In an ideal world, cpp_class_template
and cpp_class
would have no relationship at all, since they're different things. The former only contains the latter to prevent code duplication. If the semantic parent were to refer to cpp_class
, we would lose the template parameter information.
libclang_parser
Explanation of the error.
Input:
The
semantic_parent
is empty, which shouldn't be the case.