We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dc43f9 commit 758043fCopy full SHA for 758043f
1 file changed
src/dwarf2cpp/visitor.py
@@ -397,6 +397,11 @@ def visit_subprogram(self, die: DWARFDie) -> None:
397
printer.append_unqualified_name(spec)
398
name = str(printer)
399
400
+ function_name = name.split("<", maxsplit=1)[0]
401
+ if function_name.endswith("class ::operator()"):
402
+ # lambda function definitions - skip them
403
+ return
404
+
405
function = Function(name=name, returns=declaration.returns, is_const=declaration.is_const)
406
else:
407
if die.find("DW_AT_artificial") is not None:
0 commit comments