globalIdent converts the given LLVM IR type identifier to a corresponding Go identifier.
(name string)
| 454 | // globalIdent converts the given LLVM IR type identifier to a corresponding Go |
| 455 | // identifier. |
| 456 | func (d *decompiler) typeIdent(name string) *ast.Ident { |
| 457 | if isID(name) { |
| 458 | name = "_" + name |
| 459 | } |
| 460 | return ident(name) |
| 461 | } |
| 462 | |
| 463 | // globalIdent converts the given LLVM IR global identifier to a corresponding |
| 464 | // Go identifier. |