We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08f2b28 commit d4e8e1bCopy full SHA for d4e8e1b
1 file changed
pythonbpf/functions_pass.py
@@ -469,8 +469,8 @@ def allocate_mem(
469
var = builder.alloca(ir_type, name=var_name)
470
local_var_metadata[var_name] = call_type
471
print(
472
- f"Pre-allocated variable {
473
- var_name} for struct {call_type}"
+ f"Pre-allocated variable {var_name} "
+ f"for struct {call_type}"
474
)
475
elif isinstance(rval.func, ast.Attribute):
476
ir_type = ir.PointerType(ir.IntType(64))
@@ -671,8 +671,8 @@ def _expr_type(e):
671
if found_type is None:
672
found_type = t
673
elif found_type != t:
674
- raise ValueError("Conflicting return types:" f"{
675
- found_type} vs {t}")
+ raise ValueError("Conflicting return types:"
+ f"{found_type} vs {t}")
676
return found_type or "None"
677
678
0 commit comments