tools/go/analysis
Michael McLoughlin bbbd9518e8 go/analysis/passes/asmdecl: fix array offsets
Array offsets in recursive structures do not include the accumulated
offset. This diff fixes the mistake and adds a test.

Fixes golang/go#29318

Change-Id: Iaa2a2f9404e4ed0e38b87e5e041709c1a8e25809
Reviewed-on: https://go-review.googlesource.com/c/154665
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
2018-12-18 19:42:33 +00:00
..
analysistest go/analysis/cmd/analyze: install all analyzers 2018-10-19 17:03:54 +00:00
cmd/vet go/analysis/cmd/vet-lite: remove 2018-11-19 17:56:07 +00:00
internal go/analysis/cmd/vet-lite: remove 2018-11-19 17:56:07 +00:00
multichecker go/analysis/unitchecker: a main function for vet-lite tools 2018-11-15 16:00:22 +00:00
passes go/analysis/passes/asmdecl: fix array offsets 2018-12-18 19:42:33 +00:00
singlechecker go/analysis/unitchecker: a main function for vet-lite tools 2018-11-15 16:00:22 +00:00
unitchecker go/...: use recommended issue tracker URLs 2018-12-05 01:41:16 +00:00
analysis.go go/analysis: write package documentation 2018-10-08 17:31:26 +00:00
doc.go go/analysis: remove "experimental" warning 2018-12-04 18:38:27 +00:00
validate.go go/analysis: validate: report duplicates among analyzers (roots) 2018-10-11 19:55:00 +00:00