Skip to content

Commit cfaadbf

Browse files
committed
chore: add some log
1 parent dbc0e5b commit cfaadbf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pybind11_weaver/entity_tree.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ def visitor(cursor, parent, unused1):
106106

107107
pylibclang._C.clang_visitChildren(gu.tu.cursor, visitor, pylibclang._C.voidp(0))
108108
init_code = "\n".join([f"{prefix} {type_name};" for type_name, prefix in implicit_instantiation.items()])
109+
if len(implicit_instantiation) > 0:
110+
_logger.info(f"Implicit template instance binding added: \n {init_code}");
109111
gu.reload_tu(init_code)
110112
funktion.FunctionEntity._added_func.clear()
111113

0 commit comments

Comments
 (0)