go/src
Dhananjay Nakrani 7eee512773 cmd/cover: retain un-attached compiler directives
Parser doesn't attach some compiler directives to anything in the tree.
We have to explicitely retain them in the generated code. This change,
makes cover explicitely print out any compiler directive that wasn't
handled in the ast.Visitor.

Fixes #18285.

Change-Id: Ib60f253815e92d7fc85051a7f663a61116e40a91
Reviewed-on: https://go-review.googlesource.com/34563
Run-TryBot: Rob Pike <r@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
2016-12-20 01:31:42 +00:00
..
archive archive/zip: skip large concurrent tests in race mode 2016-11-21 20:51:42 +00:00
bufio
builtin
bytes
cmd cmd/cover: retain un-attached compiler directives 2016-12-20 01:31:42 +00:00
compress compress/flate: add examples 2016-11-12 18:42:35 +00:00
container
context all: make spelling consistent 2016-12-08 23:22:37 +00:00
crypto crypto/tls: fix a typo 2016-12-19 06:01:04 +00:00
database/sql database/sql: do not store Tx options in Context 2016-12-14 18:13:13 +00:00
debug cmd/objdump: copy gosym.PCValue into internal package 2016-12-01 18:20:04 +00:00
encoding all: make spelling consistent 2016-12-08 23:22:37 +00:00
errors
expvar
flag
fmt fmt: undo clearflags in catchPanic after error message has been printed 2016-12-11 21:59:59 +00:00
go go/internal/gccgoimporter: accept missed portions of v2 format 2016-12-14 18:47:56 +00:00
hash
html html/template: lock in application/json as valid JS test 2016-12-04 03:59:31 +00:00
image
index/suffixarray
internal internal/pprof/profile: parse mutex profile including comments 2016-11-29 18:04:37 +00:00
io io: update documentation on LimitedReader 2016-12-09 23:19:06 +00:00
log all: don't call t.Fatal from a goroutine 2016-11-15 15:13:48 +00:00
math crypto/*: document use or non-use of constant-time algorithms 2016-12-07 16:34:50 +00:00
mime mime/multipart: test for overreading on a stream 2016-11-07 19:32:11 +00:00
net net: clarify IP.IsGlobalUnicast docs 2016-12-16 15:35:55 +00:00
os os: must fixup path when 248 bytes long 2016-12-13 03:21:00 +00:00
path path/filepath: deprecate HasPrefix 2016-12-16 22:30:12 +00:00
plugin cmd/go, plugin: disable plugins on darwin 2016-12-15 05:46:20 +00:00
reflect runtime: clean up and improve reflect.methodValue comments 2016-12-19 21:02:53 +00:00
regexp
runtime runtime: use mincore to detect physical page size as last resort on Android 2016-12-19 22:00:50 +00:00
sort sort: add Slice example 2016-12-01 05:43:05 +00:00
strconv
strings
sync runtime/internal/atomic: crash on unaligned 64-bit ops on 32-bit MIPS 2016-11-22 02:05:07 +00:00
syscall runtime, syscall: update openbsd for changes to syskill 2016-12-12 01:30:39 +00:00
testing Revert "testing: add T.Context method" 2016-12-09 04:04:11 +00:00
text text/template: handle option missingkey=error consistently 2016-11-18 15:56:02 +00:00
time time: parse WITA timezone correctly 2016-12-12 20:14:12 +00:00
unicode
unsafe
vendor/golang_org/x vendor/golang_org/x/crypto/chacha20poly1305: revendor to pick up fix for #18154 2016-12-02 06:00:05 +00:00
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat
make.rc build: fix cross-compile on Plan 9 2016-11-22 01:32:28 +00:00
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc