tools/internal/lsp/cache
Koichi Shiraishi 70bf279967 internal/lsp: support build flags on processConfig
Add 'buildFlags' config to processConfig and pass that value to packages.Config.
We can avoid incorrect diagnostics such as if current source codes require any build tags.

Change-Id: Id191469ec75eedaa82b75ec4fdec084fa78c2c5d
Reviewed-on: https://go-review.googlesource.com/c/tools/+/178782
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
2019-06-03 21:18:25 +00:00
..
cache.go internal/lsp: debug pages for sessions views and files 2019-06-03 17:39:32 +00:00
check.go internal/lsp: trim ASTs for which we do not require function bodies 2019-06-03 19:34:55 +00:00
external.go internal/lsp: add a file system abstraction 2019-05-24 13:48:47 +00:00
file.go internal/lsp: refactor to separate pieces of type-checking 2019-05-30 04:37:10 +00:00
gofile.go internal/lsp: trim ASTs for which we do not require function bodies 2019-06-03 19:34:55 +00:00
load.go internal/lsp: trim ASTs for which we do not require function bodies 2019-06-03 19:34:55 +00:00
modfile.go internal/lsp: add modfile, sumfile structs, require Go files for diagnostics 2019-05-24 21:02:28 +00:00
parse.go internal/lsp: trim ASTs for which we do not require function bodies 2019-06-03 19:34:55 +00:00
pkg.go internal/lsp: fix regression from CL 179439 2019-06-03 19:23:55 +00:00
session.go internal/lsp: build the builtin package preemptively 2019-06-03 18:19:26 +00:00
sumfile.go internal/lsp: add modfile, sumfile structs, require Go files for diagnostics 2019-05-24 21:02:28 +00:00
view.go internal/lsp: support build flags on processConfig 2019-06-03 21:18:25 +00:00
watcher.go internal/lsp: add file watching and use it to trigger invalidations 2019-05-24 14:03:12 +00:00