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

Method Type

ir/constant/expr_binary.go:319–325  ·  view source on GitHub ↗

Type returns the type of the constant expression.

()

Source from the content-addressed store, hash-verified

317
318// Type returns the type of the constant expression.
319func (e *ExprUDiv) Type() types.Type {
320 // Cache type if not present.
321 if e.Typ == nil {
322 e.Typ = e.X.Type()
323 }
324 return e.Typ
325}
326
327// Ident returns the identifier associated with the constant expression.
328func (e *ExprUDiv) Ident() string {

Callers 2

NewUDivFunction · 0.95
StringMethod · 0.95

Calls 1

TypeMethod · 0.65

Tested by

no test coverage detected