String returns the string representation of the metadata type.
()
| 679 | |
| 680 | // String returns the string representation of the metadata type. |
| 681 | func (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. |