buildtag checker: - This checker has been modified from the version in vet to handle Go and non-Go files differently, to avoid having to re-read-and-parse Go files in the common case. - The old cmd/vet driver would run this check on all the files in a directory whereas new drivers will run it only on the files selected for a particular configuration, so some of the checks (those in checkArguments) will never fire. But this is not a regression relative to 'go vet', because it too presents cmd/vet with only the files selected as part of the package. analysistest: - fix bug that processed a block of //-comments as one. - treat "...// want..." within a //-comment as a want comment. This is required for adding expectations on lines that are already comments. Change-Id: Iacf3684864e07532f77176481afbf059a9638f3b Reviewed-on: https://go-review.googlesource.com/c/139797 Reviewed-by: Michael Matloob <matloob@golang.org> Run-TryBot: Michael Matloob <matloob@golang.org> |
||
---|---|---|
.. | ||
analyze |