isBuiltinAppendCall reports if the call is a call to builtin append.
(v *ssa.Call)
| 337 | |
| 338 | // isBuiltinAppendCall reports if the call is a call to builtin append. |
| 339 | func isBuiltinAppendCall(v *ssa.Call) bool { |
| 340 | // TODO: consider merge this and assertion.BuiltinAppend |
| 341 | bi, ok := v.Call.Value.(*ssa.Builtin) |
| 342 | if !ok { |
| 343 | return false |
| 344 | } |
| 345 | return bi.Name() == "append" |
| 346 | } |
| 347 | |
| 348 | type nilness int |
| 349 |
no outgoing calls
no test coverage detected