Commit 6914b0e3 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

runtime, unicode: use consistent banner for generated code

Per golang.org/s/generatedcode

Updates #nnn

Change-Id: Ia7513ef6bd26c20b62b57b29f7770684a315d389
Reviewed-on: https://go-review.googlesource.com/45470
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: default avatarMatt Layher <mdlayher@gmail.com>
Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent 5c37397a
// AUTO-GENERATED by mkduff.go // Code generated by mkduff.go; DO NOT EDIT.
// Run go generate from src/runtime to update. // Run go generate from src/runtime to update.
// See mkduff.go for comments. // See mkduff.go for comments.
......
// AUTO-GENERATED by mkduff.go // Code generated by mkduff.go; DO NOT EDIT.
// Run go generate from src/runtime to update. // Run go generate from src/runtime to update.
// See mkduff.go for comments. // See mkduff.go for comments.
......
// AUTO-GENERATED by mkduff.go // Code generated by mkduff.go; DO NOT EDIT.
// Run go generate from src/runtime to update. // Run go generate from src/runtime to update.
// See mkduff.go for comments. // See mkduff.go for comments.
......
// AUTO-GENERATED by mkduff.go // Code generated by mkduff.go; DO NOT EDIT.
// Run go generate from src/runtime to update. // Run go generate from src/runtime to update.
// See mkduff.go for comments. // See mkduff.go for comments.
......
// AUTO-GENERATED by mkduff.go // Code generated by mkduff.go; DO NOT EDIT.
// Run go generate from src/runtime to update. // Run go generate from src/runtime to update.
// See mkduff.go for comments. // See mkduff.go for comments.
......
// AUTO-GENERATED by mkduff.go // Code generated by mkduff.go; DO NOT EDIT.
// Run go generate from src/runtime to update. // Run go generate from src/runtime to update.
// See mkduff.go for comments. // See mkduff.go for comments.
......
...@@ -43,7 +43,7 @@ func main() { ...@@ -43,7 +43,7 @@ func main() {
func gen(arch string, tags, zero, copy func(io.Writer)) { func gen(arch string, tags, zero, copy func(io.Writer)) {
var buf bytes.Buffer var buf bytes.Buffer
fmt.Fprintln(&buf, "// AUTO-GENERATED by mkduff.go") fmt.Fprintln(&buf, "// Code generated by mkduff.go; DO NOT EDIT.")
fmt.Fprintln(&buf, "// Run go generate from src/runtime to update.") fmt.Fprintln(&buf, "// Run go generate from src/runtime to update.")
fmt.Fprintln(&buf, "// See mkduff.go for comments.") fmt.Fprintln(&buf, "// See mkduff.go for comments.")
tags(&buf) tags(&buf)
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
cat /Users/rsc/pub/native_client/src/trusted/service_runtime/include/bits/nacl_syscalls.h | cat /Users/rsc/pub/native_client/src/trusted/service_runtime/include/bits/nacl_syscalls.h |
awk ' awk '
BEGIN { BEGIN {
printf("// generated by mknacl.sh - do not edit\n") printf("// Code generated by mknacl.sh; DO NOT EDIT.\n")
} }
NF==3 && $1=="#define" && $2~/^NACL_sys_/ { NF==3 && $1=="#define" && $2~/^NACL_sys_/ {
name=$2 name=$2
......
...@@ -48,7 +48,7 @@ func main() { ...@@ -48,7 +48,7 @@ func main() {
flag.Parse() flag.Parse()
var b bytes.Buffer var b bytes.Buffer
fmt.Fprintln(&b, "// AUTO-GENERATED by mksizeclasses.go; DO NOT EDIT") fmt.Fprintln(&b, "// Code generated by mksizeclasses.go; DO NOT EDIT.")
fmt.Fprintln(&b, "//go:generate go run mksizeclasses.go") fmt.Fprintln(&b, "//go:generate go run mksizeclasses.go")
fmt.Fprintln(&b) fmt.Fprintln(&b)
fmt.Fprintln(&b, "package runtime") fmt.Fprintln(&b, "package runtime")
......
// AUTO-GENERATED by mksizeclasses.go; DO NOT EDIT // Code generated by mksizeclasses.go; DO NOT EDIT.
//go:generate go run mksizeclasses.go //go:generate go run mksizeclasses.go
package runtime package runtime
......
// generated by mknacl.sh - do not edit // Code generated by mknacl.sh; DO NOT EDIT.
#define SYS_null 1 #define SYS_null 1
#define SYS_nameservice 2 #define SYS_nameservice 2
#define SYS_dup 8 #define SYS_dup 8
......
...@@ -443,9 +443,9 @@ const progHeader = `// Copyright 2013 The Go Authors. All rights reserved. ...@@ -443,9 +443,9 @@ const progHeader = `// Copyright 2013 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.
// Generated by running // Code generated by maketables; DO NOT EDIT.
// To regenerate, run:
// maketables --tables=%s --data=%s --casefolding=%s // maketables --tables=%s --data=%s --casefolding=%s
// DO NOT EDIT
package unicode package unicode
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
// 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.
// Generated by running // Code generated by maketables; DO NOT EDIT.
// To regenerate, run:
// maketables --tables=all --data=http://www.unicode.org/Public/9.0.0/ucd/UnicodeData.txt --casefolding=http://www.unicode.org/Public/9.0.0/ucd/CaseFolding.txt // maketables --tables=all --data=http://www.unicode.org/Public/9.0.0/ucd/UnicodeData.txt --casefolding=http://www.unicode.org/Public/9.0.0/ucd/CaseFolding.txt
// DO NOT EDIT
package unicode package unicode
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment