Description

AddQuery adds v to Config.Queries. Precondition: CanPoint(v.Type()). TODO(adonovan): consider returning a new Pointer for this query, which will be initialized during analysis. That avoids the needs for the corresponding ssa.Value-keyed maps in Config and Result.

AddQuery is referenced in 11 repositories

github.com/golang/tools go.googlesource.com/tools github.com/zeebo/tools

...