diff options
Diffstat (limited to 'vendor/honnef.co/go/tools/code/code.go')
| -rw-r--r-- | vendor/honnef.co/go/tools/code/code.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/honnef.co/go/tools/code/code.go b/vendor/honnef.co/go/tools/code/code.go index 6f4df8b9a..c0679a3de 100644 --- a/vendor/honnef.co/go/tools/code/code.go +++ b/vendor/honnef.co/go/tools/code/code.go @@ -53,6 +53,7 @@ func IsCallToAny(call *ir.CallCommon, names ...string) bool { return false } +// OPT(dh): IsType is kind of expensive; should we really use it? func IsType(T types.Type, name string) bool { return types.TypeString(T, nil) == name } func FilterDebug(instr []ir.Instruction) []ir.Instruction { |
