go/src/reflect
Joe Tsai 8298c545f3 reflect: fix stale Value.Pointer comment
The comment claims that reflect users cannot obtain an unsafe.Pointer
without also importing the unsafe package explicitly.
This is no longer true now that the Value.UnsafePointer method
directly returns an unsafe.Pointer.

Change-Id: Ia5bf2e8aead681c8fac5b011129954d075ae5a43
Reviewed-on: https://go-review.googlesource.com/c/go/+/404396
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
2022-08-11 16:59:34 +00:00
..
internal
abi.go cmd/compile,runtime,reflect: move embedded bit from offset to name 2022-06-14 23:22:11 +00:00
abi_test.go all: separate doc comment from //go: directives 2022-04-05 17:54:15 +00:00
all_test.go Revert "runtime: redo heap bitmap" 2022-08-09 16:10:10 +00:00
asm_386.s
asm_amd64.s
asm_arm.s
asm_arm64.s all: delete ARM64 non-register ABI fallback path 2022-03-18 18:26:13 +00:00
asm_loong64.s go, math, os, reflect: support standard library for loong64 2022-05-20 15:12:52 +00:00
asm_mips64x.s
asm_mipsx.s
asm_ppc64x.s
asm_riscv64.s reflect, runtime: add reflect support for regabi on riscv64 2022-04-01 01:41:42 +00:00
asm_s390x.s
asm_wasm.s
deepequal.go all: replace `` and '' with “ (U+201C) and ” (U+201D) in doc comments 2022-04-05 17:52:29 +00:00
example_test.go reflect: add example for FieldByName 2022-05-19 20:04:36 +00:00
export_test.go cmd/compile,runtime,reflect: move embedded bit from offset to name 2022-06-14 23:22:11 +00:00
float32reg_generic.go reflect: implement float32 for regabi riscv64 2022-05-04 13:38:32 +00:00
float32reg_ppc64x.s
float32reg_riscv64.s reflect: implement float32 for regabi riscv64 2022-05-04 13:38:32 +00:00
makefunc.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
set_test.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
stubs_ppc64x.go
stubs_riscv64.go reflect: implement float32 for regabi riscv64 2022-05-04 13:38:32 +00:00
swapper.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
tostring_test.go
type.go Revert "runtime: process ptr bitmaps one word at a time" 2022-08-09 16:09:24 +00:00
value.go reflect: fix stale Value.Pointer comment 2022-08-11 16:59:34 +00:00
visiblefields.go
visiblefields_test.go all: consistently use US spelling of present participles 2022-04-08 13:44:41 +00:00