MCPcopy Create free account
hub / github.com/llir/llvm / String

Method String

ir/constant/const_array.go:36–38  ·  view source on GitHub ↗

String returns the LLVM syntax representation of the constant as a type-value pair.

()

Source from the content-addressed store, hash-verified

34// String returns the LLVM syntax representation of the constant as a type-value
35// pair.
36func (c *Array) String() string {
37 return fmt.Sprintf("%s %s", c.Type(), c.Ident())
38}
39
40// Type returns the type of the constant.
41func (c *Array) Type() types.Type {

Callers 1

IdentMethod · 0.45

Calls 2

TypeMethod · 0.95
IdentMethod · 0.95

Tested by

no test coverage detected