1
0
mirror of https://github.com/golang/go synced 2024-11-19 04:54:41 -07:00
go/src
Aliaksandr Valialkin ee1b90ad2c cmd/vet: improve detecting printf-like format argument
Previously format argument was detected via scanning func type args.
This didn't work when func type couldn't be determined if the func
is declared in the external package. Fall back to scanning for
the first string call argument in this case.

Fixes #14754

Change-Id: I571cc29684cc641bc87882002ef474cf1481e9e2
Reviewed-on: https://go-review.googlesource.com/21023
Run-TryBot: Rob Pike <r@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
2016-03-29 23:40:52 +00:00
..
archive all: delete dead test code 2016-03-21 07:10:08 +00:00
bufio all: delete dead test code 2016-03-21 07:10:08 +00:00
builtin
bytes all: delete dead test code 2016-03-21 07:10:08 +00:00
cmd cmd/vet: improve detecting printf-like format argument 2016-03-29 23:40:52 +00:00
compress compress/flate: add pure huffman deflater 2016-03-29 09:34:52 +00:00
container
crypto all: use &^ operator if possible 2016-03-29 14:28:41 +00:00
database/sql all: delete dead non-test code 2016-03-25 06:28:13 +00:00
debug debug/elf: add s390x relocations 2016-03-29 16:48:09 +00:00
encoding encoding/asn1: tags should be encoded in minimal form. 2016-03-25 22:07:54 +00:00
errors
expvar
flag
fmt fmt: unify array and slice formatting for bytes and other types 2016-03-27 21:34:20 +00:00
go vendor: move golang.org/x/net/http2/hpack back to vendor 2016-03-24 20:26:51 +00:00
hash
html all: delete dead non-test code 2016-03-25 06:28:13 +00:00
image image/png: ignore trailing IDAT chunks 2016-03-24 10:57:01 +00:00
index/suffixarray
internal vendor: move golang.org/x/net/http2/hpack back to vendor 2016-03-24 20:26:51 +00:00
io all: delete dead non-test code 2016-03-25 06:28:13 +00:00
log
math math/big: much simplified and faster Float rounding 2016-03-22 17:07:34 +00:00
mime mime: fix maximum length of encoded-words 2016-03-29 11:19:31 +00:00
net net/http/cgi: allow CGI host to configure where child's stderr goes 2016-03-29 06:57:05 +00:00
os os: skip TestStatStdin on Android 2016-03-24 19:07:11 +00:00
path path/filepath: use fsutil with TestEvalSymlinksCanonicalNames 2016-03-29 05:02:40 +00:00
reflect reflect: test name data is aligned 2016-03-25 20:37:08 +00:00
regexp all: delete dead non-test code 2016-03-25 06:28:13 +00:00
runtime cmd/compile: optimize remaining convT2I calls 2016-03-29 02:21:50 +00:00
sort all: delete dead non-test code 2016-03-25 06:28:13 +00:00
strconv
strings
sync sync: don't assume b.N > 0 2016-03-18 16:37:39 +00:00
syscall all: use &^ operator if possible 2016-03-29 14:28:41 +00:00
testing cmd/go: fix proc-count accumulation in benchmark name 2016-03-26 16:44:01 +00:00
text all: delete dead non-test code 2016-03-25 06:28:13 +00:00
time all: delete dead non-test code 2016-03-25 06:28:13 +00:00
unicode
unsafe
vendor/golang.org/x/net/http2/hpack vendor: move golang.org/x/net/http2/hpack back to vendor 2016-03-24 20:26:51 +00:00
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
iostest.bash
make.bash cmd/dist: redo flag-passing for bootstrap 2016-03-18 19:00:03 +00:00
make.bat
Make.dist
make.rc
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc