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

Function newDeclChecker

analysis/declcheck.go:29–31  ·  view source on GitHub ↗
(decl ast.Decl)

Source from the content-addressed store, hash-verified

27}
28
29func newDeclChecker(decl ast.Decl) *declChecker {
30 return &declChecker{decl, nil}
31}
32
33// CheckDecl performs context-free checks to see whether a decl is well-formed.
34func CheckDecl(decl ast.Decl) []error {

Callers 4

CheckDeclFunction · 0.85
checkBoundDeclFunction · 0.85

Calls

no outgoing calls

Tested by 3

checkBoundDeclFunction · 0.68