String returns the string representation of the structure type.
()
| 812 | |
| 813 | // String returns the string representation of the structure type. |
| 814 | func (t *StructType) String() string { |
| 815 | if len(t.TypeName) > 0 { |
| 816 | return enc.TypeName(t.TypeName) |
| 817 | } |
| 818 | return t.LLString() |
| 819 | } |
| 820 | |
| 821 | // LLString returns the LLVM syntax representation of the definition of the |
| 822 | // type. |