MCPcopy
hub / github.com/google/mangle / newInferContextNoDecl

Function newInferContextNoDecl

analysis/infercontext.go:23–25  ·  view source on GitHub ↗

NewInferContextNoDecl returns an inferContext for a predicate that does not have a declaration.

(bc *BoundsAnalyzer, pred *ast.PredicateSym, clause *ast.Clause)

Source from the content-addressed store, hash-verified

21
22// NewInferContextNoDecl returns an inferContext for a predicate that does not have a declaration.
23func newInferContextNoDecl(bc *BoundsAnalyzer, pred *ast.PredicateSym, clause *ast.Clause) *inferContext {
24 return &inferContext{bc: bc, pred: pred, clause: clause}
25}
26
27// NewInferContextNoDecl returns an inferContext for a predicate that does not have a declaration.
28func newInferContext(bc *BoundsAnalyzer, decl *ast.Decl, clause *ast.Clause) *inferContext {

Callers 1

inferRelTypesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected