Discover Packages
github.com/cxt90730/huaweicloud-obs-obsutil
src
golang.org
x
tools
go
analysis
passes
ctrlflow
package
Version:
v5.1.9+incompatible
Opens a new window with list of versions in this module.
Published: Oct 12, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package ctrlflow is an analysis that provides a syntactic
control-flow graph (CFG) for the body of a function.
It records whether a function cannot return.
By itself, it does not report any diagnostics.
A CFGs holds the control-flow graphs
for all the functions of the current package.
FuncDecl returns the control-flow graph for a named function.
It returns nil if decl.Body==nil.
FuncLit returns the control-flow graph for a literal function.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.