mirror of
https://github.com/golang/go
synced 2024-09-05 16:04:50 +00:00
test: update list of escape reasons
The escape_because.go test file (which tests the "because" escape explainations printed by `-m -m`) cointains a machine-generated list of all the escape reasons seen in the escape tests. The list appears to be outdated; moreove a new escape reason was added in CL 102895. This change re-generates the list. Change-Id: Idc721c6bbfe9516895b5cf1e6d09b77deda5a3dd Reviewed-on: https://go-review.googlesource.com/103375 Reviewed-by: David Chase <drchase@google.com> Run-TryBot: Alberto Donizetti <alb.donizetti@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
7fe2f549cc
commit
04e993f953
|
@ -141,51 +141,40 @@ appended to slice
|
|||
appendee slice
|
||||
arg to ...
|
||||
arg to recursive call
|
||||
array literal element
|
||||
array-element-equals
|
||||
assign-pair
|
||||
assign-pair-dot-type
|
||||
assign-pair-func-call
|
||||
array literal element
|
||||
assigned
|
||||
assigned to top level variable
|
||||
call part
|
||||
assign-pair-dot-type
|
||||
assign-pair-func-call
|
||||
captured by a closure
|
||||
closure-var
|
||||
converted
|
||||
copied slice
|
||||
defer func
|
||||
defer func ...
|
||||
defer func arg
|
||||
captured by called closure
|
||||
dot
|
||||
dot of pointer
|
||||
dot-equals
|
||||
dot of pointer
|
||||
fixed-array-index-of
|
||||
go func
|
||||
go func ...
|
||||
go func arg
|
||||
indirection
|
||||
interface-converted
|
||||
key of map put
|
||||
map literal key
|
||||
map literal value
|
||||
non-constant size
|
||||
panic
|
||||
parameter to indirect call
|
||||
passed-to-and-returned-from-call
|
||||
passed to call[argument content escapes]
|
||||
passed to call[argument escapes]
|
||||
passed-to-and-returned-from-call
|
||||
pointer literal
|
||||
range
|
||||
range-deref
|
||||
receiver in indirect call
|
||||
return
|
||||
returned from recursive function
|
||||
send
|
||||
slice
|
||||
slice-element-equals
|
||||
slice-literal-element
|
||||
star-dot-equals
|
||||
star-equals
|
||||
struct literal element
|
||||
switch case
|
||||
too large for stack
|
||||
value of map put
|
||||
*/
|
||||
|
@ -198,7 +187,6 @@ assign-pair-mapr
|
|||
assign-pair-receive
|
||||
call receiver
|
||||
map index
|
||||
panic
|
||||
pointer literal [assign]
|
||||
slice literal element
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue