1
0
mirror of https://github.com/golang/go synced 2024-10-01 01:38:33 -06:00
The Go programming language
Go to file
Alan Donovan d38c09ed22 go.tools/oracle: set AllASTs=true always, and simplify.
Every one of the oracle's query modes needs to have typed ASTs
available, at least transiently, so that the -pos flag can be
interpreted.  (The only mode that doesn't need the -pos flag
is callgraph, but that needs PTA.)  So we hard-code it to true.

This change fixes a bug in the 'implements' query that causes
-pos parsing to fail.  (This wasn't exposed by the tests
because they are degenerate in that the query always occurs in
the main package, which is specified ad-hoc, i.e. as a source
file not an import path.  That's unfortunate, but this
change renders the distinction uninteresting in future.)

R=crawshaw, dominik.honnef
CC=golang-dev
https://golang.org/cl/13334050
2013-09-12 10:55:24 -04:00
cmd go.tools/oracle: new query 'referrers' returns all references to an identifier. 2013-09-10 14:11:42 -04:00
dashboard go.tools/dashboard: add option to build gccgo revisions 2013-09-11 16:45:24 -07:00
go go.tools/go/types: treat unsafe.Pointer like a pointer for receivers and embedding 2013-09-11 10:03:40 -07:00
godoc go.tools/cmd/godoc: don't list factory functions under types in builtin package 2013-08-28 09:39:02 +10:00
gotype go.tools/gotype: fix build 2013-07-19 07:52:43 -07:00
importer go.tools/oracle: new query 'referrers' returns all references to an identifier. 2013-09-10 14:11:42 -04:00
oracle go.tools/oracle: set AllASTs=true always, and simplify. 2013-09-12 10:55:24 -04:00
pointer go.tools/pointer: summaries for more intrinsics. 2013-09-10 14:40:37 -04:00
ssa go.tools/ssa/interp: implement unary negation of complex numbers. 2013-09-10 12:08:55 -04:00
.hgignore go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
AUTHORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
codereview.cfg go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
CONTRIBUTORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
LICENSE LICENSE: add 2012-03-17 15:20:58 +11:00
PATENTS go.empty: add PATENTS file to the subrepo. 2012-04-16 11:24:04 +10:00
README go.tools: provide the right README 2013-05-17 12:55:10 -07:00

This subrepository holds the source for various packages and tools that support
the Go programming language.

Although at least some of the tools themselves will be included in binary Go distributions,
the packages from which they are built are of little interest to most Go programmers.

To submit changes to this repository, see http://golang.org/doc/contribute.html.