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

Method String

ir/constant/expr_binary.go:38–40  ·  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

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

Callers 5

IdentMethod · 0.45
IdentMethod · 0.45
IdentMethod · 0.45
IdentMethod · 0.45
IdentMethod · 0.45

Calls 2

TypeMethod · 0.95
IdentMethod · 0.95

Tested by

no test coverage detected