convert uses of interface{} to any

Done via:
  find . -name "*.go" | xargs sed -i -E 's/interface\{\}/any/g'

PiperOrigin-RevId: 487033228
This commit is contained in:
Kevin Krakauer
2022-11-08 13:14:06 -08:00
committed by gVisor bot
parent c82b70015d
commit d8aa09e04c
220 changed files with 509 additions and 509 deletions
+2 -2
View File
@@ -176,7 +176,7 @@ type objdumpAnalyzer struct {
}
// Run implements nogo.binaryAnalyzer.Run.
func (ob *objdumpAnalyzer) Run(pass *analysis.Pass, binary io.Reader) (interface{}, error) {
func (ob *objdumpAnalyzer) Run(pass *analysis.Pass, binary io.Reader) (any, error) {
return run(pass, binary)
}
@@ -652,7 +652,7 @@ func findReasons(pass *analysis.Pass, fdecl *ast.FuncDecl) ([]EscapeReason, bool
}
// run performs the analysis.
func run(pass *analysis.Pass, binary io.Reader) (interface{}, error) {
func run(pass *analysis.Pass, binary io.Reader) (any, error) {
calls, callsErr := loadObjdump(binary)
if callsErr != nil {
// Note that if this analysis fails, then we don't actually