tools/go/ssa/ssautil
Alan Donovan 5b5e9c877a go/ssa: updates to support go/packages
Adds ssautil.Packages function, which creates ssa.Packages
from packages.Packages.

Deprecates testmain synthesis logic now that go/packages
reports the test packages synthesized by the build system
as first-class packages.

Updates docs, examples, and tests.

Flags potential confusion around legacy concept of "importable" packages.

Change-Id: I6d9cd7c6436c715d1ef39e3e280f4af4d48ccc5a
Reviewed-on: https://go-review.googlesource.com/128675
Reviewed-by: Dominik Honnef <dominik@honnef.co>
2018-08-08 20:03:34 +00:00
..
testdata go.tools/ssa: tweaks to CreateTestMainPackage. 2014-02-11 15:59:20 -05:00
load.go go/ssa: updates to support go/packages 2018-08-08 20:03:34 +00:00
load_test.go go/ssa: updates to support go/packages 2018-08-08 20:03:34 +00:00
switch.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
switch_test.go x/tools: disable tests not supported on Android 2015-08-06 00:36:03 +00:00
visit.go go/ssa: support custom TestMain functions in test packages 2016-10-19 17:50:59 +00:00