tools/go
David R. Jenni e852fdd89f go/ast/astutil: add function DeleteNamedImport.
DeleteNamedImport deletes the import with a given
name and path from a parsed file, if present.

imports uses this function to delete named imports.

Fixes golang/go#8149.

Change-Id: I84539d5627191c45f06db2d008507aee4d3b1eb2
Reviewed-on: https://go-review.googlesource.com/19951
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-02-26 17:37:10 +00:00
..
ast/astutil go/ast/astutil: add function DeleteNamedImport. 2016-02-26 17:37:10 +00:00
buildutil go/buildutil: add ExpandPatterns utility 2016-02-22 20:15:22 +00:00
callgraph tools: switch to standard go/types at tip 2016-01-06 22:15:26 +00:00
exact tools: add import comments. 2014-12-09 22:42:16 +00:00
gccgoimporter x/tools: disable tests not supported on Android 2015-08-06 00:36:03 +00:00
gcimporter go/types: change {Type,Object,Selection}String to accept a Qualifier function 2015-06-30 19:00:00 +00:00
gcimporter15 go/gcimporter15: backport latest changes to binary export format (fix build) 2016-02-26 01:18:04 +00:00
importer go/importer: in TestImportStdLib, skip 2 packages that use vendoring 2015-12-28 21:28:10 +00:00
loader go/loader: update comment 2016-02-22 20:28:10 +00:00
pointer all: skip slow tests in short mode 2016-01-28 00:14:01 +00:00
ssa all: fix plan9 failures 2016-01-28 00:31:03 +00:00
types go/types: fix a comment of Named.Obj 2016-01-16 17:31:34 +00:00
vcs go/vcs: drop support for Google Code Project Hosting 2016-01-27 00:23:28 +00:00