tools/go
David R. Jenni f4e1751b91 go/ast/astutil: handle documentation of imports in DeleteNamedImport.
If the parens of an ast.GenDecl are dropped, move the documentation
of the ImportSpec above the import statement, otherwise the the
code is invalid.

Fixes golang/go#15432.

Change-Id: I715750b8f528380b96a6bc8b5f216043937976c2
Reviewed-on: https://go-review.googlesource.com/22415
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-10-12 15:09:30 +00:00
..
ast/astutil go/ast/astutil: handle documentation of imports in DeleteNamedImport. 2016-10-12 15:09:30 +00:00
buildutil go/buildutil: ExpandPatterns: ignore a trailing slash in a pattern 2016-10-05 19:34:25 +00:00
callgraph x/tools: delete x/tools/go/types and dependent packages/client files 2016-04-06 21:52:49 +00:00
gcimporter15 go/gcimporter15: update exportdata.go to match latest version from std lib 2016-10-06 19:19:18 +00:00
loader x/tools: delete x/tools/go/types and dependent packages/client files 2016-04-06 21:52:49 +00:00
pointer x/tools: delete x/tools/go/types and dependent packages/client files 2016-04-06 21:52:49 +00:00
ssa go/ssa/interp: turn {strings,bytes}.init into no-ops 2016-09-07 20:36:55 +00:00
types/typeutil x/tools: delete x/tools/go/types and dependent packages/client files 2016-04-06 21:52:49 +00:00
vcs vcs: Add support for git.openstack.org 2016-05-24 15:53:25 +00:00