From f9c13bbb3da505715d08e3f2c9ac6bb5c5910ff5 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 11 Apr 2022 22:40:33 -0400 Subject: go/pointer: gofmt Gofmt to update doc comments to the new formatting. (There are so many files in x/tools I am breaking up the gofmt'ing into multiple CLs.) For golang/go#51082. Change-Id: I5e11f2946001b9b36b7bd3af4d42da9dcea7494f Reviewed-on: https://go-review.googlesource.com/c/tools/+/399361 Run-TryBot: Russ Cox TryBot-Result: Gopher Robot Auto-Submit: Russ Cox gopls-CI: kokoro Reviewed-by: Ian Lance Taylor --- go/pointer/solve.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'go/pointer/solve.go') diff --git a/go/pointer/solve.go b/go/pointer/solve.go index 0fdd098b0..7a41b78a8 100644 --- a/go/pointer/solve.go +++ b/go/pointer/solve.go @@ -91,7 +91,6 @@ func (a *analysis) solve() { // and adds them to the graph, ensuring // that new constraints are applied to pre-existing labels and // that pre-existing constraints are applied to new labels. -// func (a *analysis) processNewConstraints() { // Take the slice of new constraints. // (May grow during call to solveConstraints.) @@ -151,7 +150,6 @@ func (a *analysis) processNewConstraints() { // solveConstraints applies each resolution rule attached to node n to // the set of labels delta. It may generate new constraints in // a.constraints. -// func (a *analysis) solveConstraints(n *node, delta *nodeset) { if delta.IsEmpty() { return @@ -199,7 +197,6 @@ func (a *analysis) addWork(id nodeid) { // // The size of the copy is implicitly 1. // It returns true if pts(dst) changed. -// func (a *analysis) onlineCopy(dst, src nodeid) bool { if dst != src { if nsrc := a.nodes[src]; nsrc.solve.copyTo.add(dst) { @@ -221,7 +218,6 @@ func (a *analysis) onlineCopy(dst, src nodeid) bool { // // TODO(adonovan): now that we support a.copy() during solving, we // could eliminate onlineCopyN, but it's much slower. Investigate. -// func (a *analysis) onlineCopyN(dst, src nodeid, sizeof uint32) uint32 { for i := uint32(0); i < sizeof; i++ { if a.onlineCopy(dst, src) { -- cgit v1.2.3