tools: golang.org/x/tools/go/analysis/passes/shift Index | Files

package shift

import "golang.org/x/tools/go/analysis/passes/shift"

Package shift defines an Analyzer that checks for shifts that exceed the width of an integer.

Index

Package Files

dead.go shift.go

Variables

var Analyzer = &analysis.Analyzer{
    Name:     "shift",
    Doc:      "check for shifts that equal or exceed the width of the integer",
    Requires: []*analysis.Analyzer{inspect.Analyzer},
    Run:      run,
}

Package shift imports 8 packages (graph) and is imported by 10 packages. Updated 2019-09-15. Refresh now. Tools for package owners.