aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/malloc.go
diff options
context:
space:
mode:
authorDaniel Martí <mvdan@mvdan.cc>2018-02-03 15:36:38 +0000
committerDaniel Martí <mvdan@mvdan.cc>2018-02-23 18:31:55 +0000
commitbae3fd66279cf679b686ae68c35980334d9ff315 (patch)
tree47cc54e16d33cde94f2f133d5a11734721518710 /src/runtime/malloc.go
parent0681c7c31b5922f08f31404023e6b295f35812fe (diff)
downloadgo-bae3fd66279cf679b686ae68c35980334d9ff315.tar.xz
cmd/vet: use type info to detect the atomic funcs
Simply checking if a name is "atomic" isn't enough, as that might be a var or another imported package. Now that vet requires type information, we can do better. And add a simple regression test. Change-Id: Ibd2004428374e3628cd3cd0ffb5f37cedaf448ea Reviewed-on: https://go-review.googlesource.com/91795 Run-TryBot: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/runtime/malloc.go')
0 files changed, 0 insertions, 0 deletions