package cfginternal
import "golang.org/x/tools/internal/cfginternal"
Package cfginternal exposes internals of go/cfg. It cannot actually depend on symbols from go/cfg.
Index ¶
Variables ¶
var IsNoReturn = func(cfg any) bool { panic("golang.org/x/tools/go/cfg not linked into application") }
IsNoReturn exposes (*cfg.CFG).noReturn to the ctrlflow analyzer. TODO(adonovan): add CFG.NoReturn to the public API.
You must link golang.org/x/tools/go/cfg into your application for this function to be non-nil.
Source Files ¶
cfginternal.go
- Version
- v0.39.0
- Published
- Nov 12, 2025
- Platform
- windows/amd64
- Last checked
- 11 minutes ago –
Tools for package owners.