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

Method String

ir/constant/expr_memory.go:95–101  ·  view source on GitHub ↗

String returns a string representation of the getelementptr index.

()

Source from the content-addressed store, hash-verified

93
94// String returns a string representation of the getelementptr index.
95func (index *Index) String() string {
96 // OptInrange Type Constant
97 if index.InRange {
98 return fmt.Sprintf("inrange %s", index.Constant)
99 }
100 return index.Constant.String()
101}
102
103// ### [ Helper functions ] ####################################################
104

Callers 1

IdentMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected