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

Method String

ir/constant/const_struct.go:34–36  ·  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

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

Callers 1

IdentMethod · 0.45

Calls 2

TypeMethod · 0.95
IdentMethod · 0.95

Tested by

no test coverage detected