diff options
author | Michael Pratt <mpratt@google.com> | 2021-08-13 11:29:30 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-08-13 11:31:55 -0700 |
commit | ed89602161fc8ca1f0dc425873d27e5b7ac2ed4a (patch) | |
tree | 00354b8e2ac82538b49f016b910cbcccde665110 /test/syscalls/linux/timerfd.cc | |
parent | 8f2b11a87e0c8fc89636617c9161caee9f8f1fb5 (diff) |
Disable SA1019 (deprecation check)
On Go tip (pre-1.18), http://golang.org/issue/44195 is making SA1019 mistake
uses of reflect.Value.Len for reflect.Value.InterfaceData, which is deprecated.
It is thus mistakenly raising deprecation errors on uses of reflect.Value.Len.
Suppress these errors by disabling SA1019 entirely. This is a bit overkill, but
it is unclear to me if we want hard errors on deprecation anyways. That can be
reevaluated when http://golang.org/issue/44195 is fixed.
The other staticcheck analyzers are moved to alphabetical order.
Updates golang/go#44195
PiperOrigin-RevId: 390655918
Diffstat (limited to 'test/syscalls/linux/timerfd.cc')
0 files changed, 0 insertions, 0 deletions