1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:34:51 -07:00
go/oracle
Alan Donovan 4228ee8063 go.tools/go/ssa: improve printing of anonymous functions.
Examples:
- "foo$1" becomes "pkg.foo$1"
- "init$1" (meaning the first declared "init" function) becomes "init#1",
   to distinguish it from "init$1" (meaning the first anonymous function
   within the synthetic "init" function that initializes package-level vars).

It is now an invariant that all source-level (non-synthetic)
functions have distinct names, and that all names include the
enclosing package.  Added test for this.

+ updated various clients.

LGTM=gri
R=gri
CC=golang-codereviews
https://golang.org/cl/122750043
2014-07-31 17:37:41 -04: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/go/ssa: improve printing of anonymous functions. 2014-07-31 17:37:41 -04:00
callees.go go.tools/go/loader: use new types.TypeAndValue mode predicates. 2014-07-11 10:50:09 +01:00
callers.go go.tools/go/pointer: add intrinsic for time.startTimer, which is implemented in C. 2014-07-22 18:30:06 -04:00
callgraph.go go.tools/oracle: callgraph: fix crash caused by sparse node numbering. 2014-06-10 12:36:40 -04:00
callstack.go go.tools/go/pointer: add intrinsic for time.startTimer, which is implemented in C. 2014-07-22 18:30:06 -04: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/loader: use new types.TypeAndValue mode predicates. 2014-07-11 10:50:09 +01:00
freevars.go go.tools/go/loader: use new types.TypeAndValue mode predicates. 2014-07-11 10:50:09 +01:00
implements.go go.tools: various comments + doc tweaks. 2014-03-11 18:24:39 -04:00
oracle_test.go go.tools/oracle: don't discard /usr/bin/diff's stderr 2014-04-15 15:39:38 -04:00
oracle.go go.tools/oracle: fix bug in reduceScope on ad-hoc main packages. 2014-03-19 14:00:35 -04:00
peers.go go.tools: fix various typos 2014-05-02 14:38:08 -07:00
pointsto.go go.tools/oracle: pointsto: if the queried expression is an lvalue, use the type of its value, not its address. 2014-07-22 18:29:56 -04:00
pos.go go.tools/oracle: improvements to command set and performance. 2013-12-13 10:04:55 -05:00
referrers.go go.tools: fix various typos 2014-05-02 14:38:08 -07:00
TODO go.tools/oracle: remove stale item 2014-06-16 15:46:56 -04:00
what.go go.tools/oracle: implements: now shows whole-program implements relation for selected type. 2013-12-13 18:00:55 -05:00