diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2015-04-05 23:28:18 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2015-04-05 23:28:18 +0000 |
commit | 7d39641c805bf3263ffb55a23ecf4bbfd37402c0 (patch) | |
tree | 1cf0efe596d5727fbeb631273a000de81f454e23 /llgo/third_party/gotools/go/pointer/example_test.go | |
parent | 907628d24dfbaa59674f9130ed02e3fe90a9c4df (diff) | |
download | bcm5719-llvm-7d39641c805bf3263ffb55a23ecf4bbfd37402c0.tar.gz bcm5719-llvm-7d39641c805bf3263ffb55a23ecf4bbfd37402c0.zip |
Roll gotools to d4e70101.
Most importantly, this gives us https://go-review.googlesource.com/7533 which
fixes a bug in go/ssa that caused test failures in the Go 1.4 standard library.
Also remove the go1.4 tag workaround. We no longer need it now that we
ship llgo-go.
Differential Revision: http://reviews.llvm.org/D8827
llvm-svn: 234133
Diffstat (limited to 'llgo/third_party/gotools/go/pointer/example_test.go')
-rw-r--r-- | llgo/third_party/gotools/go/pointer/example_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llgo/third_party/gotools/go/pointer/example_test.go b/llgo/third_party/gotools/go/pointer/example_test.go index d32cc29574d..a8a2cb13fbe 100644 --- a/llgo/third_party/gotools/go/pointer/example_test.go +++ b/llgo/third_party/gotools/go/pointer/example_test.go @@ -41,10 +41,10 @@ func main() { i.f(x) // dynamic method call } ` - // Construct a loader. - conf := loader.Config{SourceImports: true} + var conf loader.Config - // Parse the input file. + // Parse the input file, a string. + // (Command-line tools should use conf.FromArgs.) file, err := conf.ParseFile("myprog.go", myprog) if err != nil { fmt.Print(err) // parse error |