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

Method String

ir/constant/expr_binary.go:130–132  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

128// String returns the LLVM syntax representation of the constant expression as a
129// type-value pair.
130func (e *ExprSub) String() string {
131 return fmt.Sprintf("%s %s", e.Type(), e.Ident())
132}
133
134// Type returns the type of the constant expression.
135func (e *ExprSub) Type() types.Type {

Callers

nothing calls this directly

Calls 2

TypeMethod · 0.95
IdentMethod · 0.95

Tested by

no test coverage detected