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

Method String

ir/types/types.go:681–686  ·  view source on GitHub ↗

String returns the string representation of the metadata type.

()

Source from the content-addressed store, hash-verified

679
680// String returns the string representation of the metadata type.
681func (t *MetadataType) String() string {
682 if len(t.TypeName) > 0 {
683 return enc.TypeName(t.TypeName)
684 }
685 return t.LLString()
686}
687
688// LLString returns the LLVM syntax representation of the definition of the
689// type.

Callers

nothing calls this directly

Calls 2

LLStringMethod · 0.95
TypeNameFunction · 0.92

Tested by

no test coverage detected