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

Method Type

ir/constant/expr_binary.go:91–97  ·  view source on GitHub ↗

Type returns the type of the constant expression.

()

Source from the content-addressed store, hash-verified

89
90// Type returns the type of the constant expression.
91func (e *ExprFAdd) Type() types.Type {
92 // Cache type if not present.
93 if e.Typ == nil {
94 e.Typ = e.X.Type()
95 }
96 return e.Typ
97}
98
99// Ident returns the identifier associated with the constant expression.
100func (e *ExprFAdd) Ident() string {

Callers 2

NewFAddFunction · 0.95
StringMethod · 0.95

Calls 1

TypeMethod · 0.65

Tested by

no test coverage detected