1
0
mirror of https://github.com/golang/go synced 2024-10-01 03:38:32 -06:00
go/oracle
Alan Donovan 08fadac071 go.tools/go/loader: simplify command-line syntax.
Previously, each word could be a package import path or a
comma-separated list of *.go file names.  Now, if the
first word ends with ".go", all words are assumed to be
Go source files.  This makes it impossible to specify
two ad-hoc packages from source files, but no-one needs that.

FromArgs also takes a boolean indicating whether tests
are wanted or not.

Also: ssadump: add -test flag to set that boolean.
For the oracle it's always true.

LGTM=gri
R=gri
CC=golang-codereviews
https://golang.org/cl/61470047
2014-02-11 16:52:16 -05:00
..
serial go.tools/oracle: implements: now shows whole-program implements relation for selected type. 2013-12-13 18:00:55 -05:00
testdata/src go.tools/oracle: adjust golden output to new names 2014-01-10 16:05:14 -08:00
callees.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
callers.go go.tools/call: rename package to go/callgraph 2014-01-16 14:04:19 -05:00
callgraph.go go.tools/call: rename package to go/callgraph 2014-01-16 14:04:19 -05:00
callstack.go go.tools/call: rename package to go/callgraph 2014-01-16 14:04:19 -05:00
definition.go go.tools/oracle: improvements to command set and performance. 2013-12-13 10:04:55 -05:00
describe.go go.tools/go/types: remove Type.MethodSet() method. 2014-02-11 16:49:27 -05:00
freevars.go go.tools/oracle: improvements to command set and performance. 2013-12-13 10:04:55 -05:00
implements.go go.tools/go/types: remove Type.MethodSet() method. 2014-02-11 16:49:27 -05:00
oracle_test.go go.tools/go/loader: permit Create* methods to specify the ad-hoc package's path 2014-01-22 09:59:19 -05:00
oracle.go go.tools/go/loader: simplify command-line syntax. 2014-02-11 16:52:16 -05:00
peers.go go.tools/go/types: cleanup: more consistent exported predicate names 2014-01-28 10:57:56 -08:00
pointsto.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
pos.go go.tools/oracle: improvements to command set and performance. 2013-12-13 10:04:55 -05:00
referrers.go go.tools/oracle: improvements to command set and performance. 2013-12-13 10:04:55 -05:00
TODO go.tools/oracle: implements: now shows whole-program implements relation for selected type. 2013-12-13 18:00:55 -05:00
what.go go.tools/oracle: implements: now shows whole-program implements relation for selected type. 2013-12-13 18:00:55 -05:00