go/src/reflect
Jes Cok 33013e8ea8 reflect: add Overflow methods to Type
This CL adds new methods synonymous with the method of the same name
in reflect.Value to reflect.Type: OverflowComplex, OverflowFloat, OverflowInt, OverflowUint.

Fixes #60427

Change-Id: I7a0bb35629e59a7429820f13fcd3a6f120194bc6
GitHub-Last-Rev: 26c11bcffe
GitHub-Pull-Request: golang/go#65955
Reviewed-on: https://go-review.googlesource.com/c/go/+/567296
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-02-28 14:08:38 +00:00
..
internal
abi.go
abi_test.go
all_test.go reflect: add Overflow methods to Type 2024-02-28 14:08:38 +00:00
arena.go
asm_386.s
asm_amd64.s
asm_arm.s
asm_arm64.s
asm_loong64.s reflect, runtime: add reflect support for regABI on loong64 2023-11-21 19:04:25 +00:00
asm_mips64x.s
asm_mipsx.s
asm_ppc64x.s
asm_riscv64.s
asm_s390x.s
asm_wasm.s
benchmark_test.go reflect: optimize Value.IsZero for struct types 2023-11-19 17:09:03 +00:00
deepequal.go reflect: optimize DeepEqual() for maps 2023-07-31 15:44:01 +00:00
example_test.go
export_test.go reflect: StructOf set abi.TFlagRegularMemory 2024-01-23 00:36:00 +00:00
float32reg_generic.go
float32reg_ppc64x.s
float32reg_riscv64.s
makefunc.go
nih_test.go
set_test.go
stubs_ppc64x.go
stubs_riscv64.go
swapper.go
tostring_test.go
type.go reflect: add Overflow methods to Type 2024-02-28 14:08:38 +00:00
type_test.go reflect: optimize TypeFor for non-interface types 2024-02-12 14:38:07 +00:00
value.go reflect: fix typo in comment 2024-02-27 16:41:16 +00:00
visiblefields.go
visiblefields_test.go