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

Method Type

ir/constant/expr_binary.go:183–189  ·  view source on GitHub ↗

Type returns the type of the constant expression.

()

Source from the content-addressed store, hash-verified

181
182// Type returns the type of the constant expression.
183func (e *ExprFSub) Type() types.Type {
184 // Cache type if not present.
185 if e.Typ == nil {
186 e.Typ = e.X.Type()
187 }
188 return e.Typ
189}
190
191// Ident returns the identifier associated with the constant expression.
192func (e *ExprFSub) Ident() string {

Callers 2

NewFSubFunction · 0.95
StringMethod · 0.95

Calls 1

TypeMethod · 0.65

Tested by

no test coverage detected