- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for callMayReturn (0.12 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/ctrlflow/ctrlflow.go
di.cfg = cfg.New(di.decl.Body, c.callMayReturn) if !hasReachableReturn(di.cfg) { di.noReturn = true } } if di.noReturn { c.pass.ExportObjectFact(fn, new(noReturn)) } // debugging if false { log.Printf("CFG for %s:\n%s (noreturn=%t)\n", fn, di.cfg.Format(c.pass.Fset), di.noReturn) } } } // callMayReturn reports whether the called function may return.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 6.6K bytes - Viewed (0)