package shift

import ""

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


Package Files

dead.go shift.go


const Doc = "check for shifts that equal or exceed the width of the integer"


var Analyzer = &analysis.Analyzer{
    Name:     "shift",
    Doc:      Doc,
    Requires: []*analysis.Analyzer{inspect.Analyzer},
    Run:      run,

Package shift imports 10 packages (graph).

Version v0.1.8 (latest) | Published Dec 2, 2021 | Platform: linux/amd64 | Updated 3 weeks ago

Tools for package owners.