I found files to change with this command:
git grep 'DO NOT EDIT' | grep -v 'Code generated .* DO NOT'
There are more files that match that grep, but I do not intend on fixing
them.
Change-Id: I4b474f1c29ca3135560d414785b0dbe0d1a4e52c
GitHub-Last-Rev:
65804b02634abd85bf113788b38354d48801241f
GitHub-Pull-Request: golang/go#24334
Reviewed-on: https://go-review.googlesource.com/99955
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// DO NOT EDIT.
-// Generate with: go run gen.go{{if .Full}} -full{{end}} -output md5block.go
+// Code generated by go run gen.go{{if .Full}} -full{{end}} -output md5block.go; DO NOT EDIT.
package md5
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// DO NOT EDIT.
-// Generate with: go run gen.go -full -output md5block.go
+// Code generated by go run gen.go -full -output md5block.go; DO NOT EDIT.
package md5
-// Created by decgen --output dec_helpers.go; DO NOT EDIT
+// Code generated by go run decgen.go -output dec_helpers.go; DO NOT EDIT.
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
log.Fatal("usage: decgen [--output filename]")
}
var b bytes.Buffer
- fmt.Fprintf(&b, "// Created by decgen --output %s; DO NOT EDIT\n", *output)
+ fmt.Fprintf(&b, "// Code generated by go run decgen.go -output %s; DO NOT EDIT.\n", *output)
fmt.Fprint(&b, header)
printMaps(&b, "Array")
fmt.Fprint(&b, "\n")
-// Created by encgen --output enc_helpers.go; DO NOT EDIT
+// Code generated by go run encgen.go -output enc_helpers.go; DO NOT EDIT.
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
log.Fatal("usage: encgen [--output filename]")
}
var b bytes.Buffer
- fmt.Fprintf(&b, "// Created by encgen --output %s; DO NOT EDIT\n", *output)
+ fmt.Fprintf(&b, "// Code generated by go run encgen.go -output %s; DO NOT EDIT.\n", *output)
fmt.Fprint(&b, header)
printMaps(&b, "Array")
fmt.Fprint(&b, "\n")
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.`)
fmt.Fprintln(&buf)
- fmt.Fprintln(&buf, "// generated by go run gen.go -output palette.go; DO NOT EDIT")
+ fmt.Fprintln(&buf, "// Code generated by go run gen.go -output palette.go; DO NOT EDIT.")
fmt.Fprintln(&buf)
fmt.Fprintln(&buf, "package palette")
fmt.Fprintln(&buf)
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// generated by go run gen.go -output palette.go; DO NOT EDIT
+// Code generated by go run gen.go -output palette.go; DO NOT EDIT.
package palette
}
}
-const pre = `// generated by "go run gen.go". DO NOT EDIT.
+const pre = `// Code generated by go run gen.go; DO NOT EDIT.
package imageutil
-// generated by "go run gen.go". DO NOT EDIT.
+// Code generated by go run gen.go; DO NOT EDIT.
package imageutil
}
out.Reset()
- out.WriteString(`// DO NOT EDIT; AUTO-GENERATED from sort.go using genzfunc.go
+ out.WriteString(`// Code generated from sort.go using genzfunc.go; DO NOT EDIT.
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
-// DO NOT EDIT; AUTO-GENERATED from sort.go using genzfunc.go
+// Code generated from sort.go using genzfunc.go; DO NOT EDIT.
// Copyright 2016 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.
-// DO NOT EDIT. GENERATED BY
-// go run makeisprint.go -output isprint.go
+// Code generated by go run makeisprint.go -output isprint.go; DO NOT EDIT.
package strconv
fmt.Fprintf(&buf, `// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.`+"\n\n")
- fmt.Fprintf(&buf, "// DO NOT EDIT. GENERATED BY\n")
- fmt.Fprintf(&buf, "// go run makeisprint.go -output isprint.go\n\n")
+ fmt.Fprintf(&buf, "// Code generated by go run makeisprint.go -output isprint.go; DO NOT EDIT.\n\n")
fmt.Fprintf(&buf, "package strconv\n\n")
fmt.Fprintf(&buf, "// (%d+%d+%d)*2 + (%d)*4 = %d bytes\n\n",