diff options
author | Alan Donovan <adonovan@google.com> | 2023-04-23 13:45:08 -0400 |
---|---|---|
committer | Alan Donovan <adonovan@google.com> | 2023-04-25 13:57:33 +0000 |
commit | a1284d0185110b82b34200a13700fecacfa200fa (patch) | |
tree | 62a86febe5d8ccdd07164c2cf75e9b75ee0c2df3 /api | |
parent | 22d94dfdc8ab866ff6097b6b92a2860233873c95 (diff) | |
download | go-git-a1284d0185110b82b34200a13700fecacfa200fa.tar.gz |
go/ast: add IsGenerated(*File) predicate
See https://go.dev/s/generatedcode for spec.
Fixes #28089
Change-Id: Ic9bb138bdd180f136f9e8e74e187319acca5dbac
Reviewed-on: https://go-review.googlesource.com/c/go/+/487935
Run-TryBot: Alan Donovan <adonovan@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Diffstat (limited to 'api')
-rw-r--r-- | api/next/28089.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/next/28089.txt b/api/next/28089.txt new file mode 100644 index 0000000000..1b55914fa4 --- /dev/null +++ b/api/next/28089.txt @@ -0,0 +1 @@ +pkg go/ast, func IsGenerated(*File) bool #28089 |