MCPcopy Create free account
hub / github.com/decomp/decomp / constNull

Method constNull

cmd/ll2go/constant.go:65–67  ·  view source on GitHub ↗

constNull converts the given LLVM IR null pointer constant to a corresponding Go expression.

(c *constant.Null)

Source from the content-addressed store, hash-verified

63// constNull converts the given LLVM IR null pointer constant to a corresponding
64// Go expression.
65func (d *decompiler) constNull(c *constant.Null) ast.Expr {
66 return ast.NewIdent("nil")
67}
68
69// constVector converts the given LLVM IR vector constant to a corresponding Go
70// expression.

Callers 1

constantMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected