• Rob Pike's avatar
    vet: improve flag handling · d2825329
    Rob Pike authored
    Simplify the internal logic for flags controlling what to vet,
    by introducing a map of flags that gathers them all together.
    This change should simplify the process of adding further flags.
    
    Add a test for untagged struct literals.
    Delete a redundant test that was also in the wrong file.
    Clean up some ERROR patterns that weren't working.
    
    "make test" passes again.
    
    R=golang-dev, bradfitz
    CC=golang-dev
    https://golang.org/cl/7305075
    d2825329
Name
Last commit
Last update
..
Makefile Loading commit data...
atomic.go Loading commit data...
buildtag.go Loading commit data...
buildtag_bad.go Loading commit data...
doc.go Loading commit data...
main.go Loading commit data...
method.go Loading commit data...
print.go Loading commit data...
rangeloop.go Loading commit data...
structtag.go Loading commit data...
taglit.go Loading commit data...