mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
go/types: generate cycles.go
Change-Id: I09a31a1ccec082f5538736c48b211e4d567ee80c Reviewed-on: https://go-review.googlesource.com/c/go/+/715420 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Robert Griesemer <gri@google.com> Auto-Submit: Mark Freeman <markfreeman@google.com>
This commit is contained in:
parent
7a372affd9
commit
7601cd3880
2 changed files with 8 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Code generated by "go test -run=Generate -write=all"; DO NOT EDIT.
|
||||||
|
// Source: ../../cmd/compile/internal/types2/cycles.go
|
||||||
|
|
||||||
// Copyright 2025 The Go Authors. All rights reserved.
|
// Copyright 2025 The Go Authors. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
|
||||||
|
|
@ -126,6 +126,11 @@ var filemap = map[string]action{
|
||||||
"context.go": nil,
|
"context.go": nil,
|
||||||
"context_test.go": nil,
|
"context_test.go": nil,
|
||||||
"conversions.go": nil,
|
"conversions.go": nil,
|
||||||
|
"cycles.go": func(f *ast.File) {
|
||||||
|
renameImportPath(f, `"cmd/compile/internal/syntax"->"go/ast"`)
|
||||||
|
renameSelectorExprs(f, "syntax.Name->ast.Ident", "rhs.Value->rhs.Name")
|
||||||
|
renameSelectors(f, "Trace->_Trace")
|
||||||
|
},
|
||||||
"errors_test.go": func(f *ast.File) { renameIdents(f, "nopos->noposn") },
|
"errors_test.go": func(f *ast.File) { renameIdents(f, "nopos->noposn") },
|
||||||
"errsupport.go": nil,
|
"errsupport.go": nil,
|
||||||
"gccgosizes.go": nil,
|
"gccgosizes.go": nil,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue