go/go
Heschi Kreinick a4cde3673c go/packages: enable UsesCgo in go/types
Add a new Mode bit, TypecheckCgo. When it is enabled, CompiledGoFiles
will contain cgo files before preprocessing, plus the cgo types file
generated by the cgo tool. Together, these can be type checked by
go/types with UsesCgo enabled.

Change-Id: I891a434f0193497d15e8c637910fb52b60455a06
Reviewed-on: https://go-review.googlesource.com/c/tools/+/229778
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
2020-05-12 21:29:48 +00:00
..
analysis go/analysis/analysistest: support testing mutually exclusive suggested fixes 2020-04-27 21:46:58 +00:00
ast go/ast/inspector: impose maximum capacity 2020-04-10 18:16:43 +00:00
buildutil all: fix more typos 2019-09-11 15:13:14 +00:00
callgraph all: add a space before +build in build tag comments 2019-09-08 12:23:18 +00:00
cfg all: fix some staticcheck errors 2020-01-29 04:53:41 +00:00
expect go/packages/packagestest: do not overwrite existing go.mod file 2020-02-06 15:23:23 +00:00
gccgoexportdata go/gccgoexportdata: correctly handle archive files containing string tables 2016-11-09 21:28:38 +00:00
gcexportdata go/internal/gcimporter: remove support for binary export data 2020-04-27 21:30:09 +00:00
internal go/internal/gcimporter: remove support for binary export data 2020-04-27 21:30:09 +00:00
loader go/loader: remove check on ioutil.TestTempFile in TestStdlib 2020-04-13 16:19:37 +00:00
packages go/packages: enable UsesCgo in go/types 2020-05-12 21:29:48 +00:00
pointer all: fix some staticcheck errors 2020-01-29 04:53:41 +00:00
ssa go/ssa/interp: remove unused import 2020-02-25 20:57:19 +00:00
types go/types/objectpath: cache result of call to scope.Names 2020-05-05 02:31:15 +00:00
vcs go/vcs: ignore "mod" VCS type 2019-05-06 14:53:03 +00:00