Commit ca281cf
go/analysis/passes/ctrlflow: add noreturn funcs from popular pkgs
This CL adds a number of no-return logging functions from popular
logging packages to the set of known intrinsics, if their
no-return status is beyond the analysis to infer.
Tested manualy; unfortunately we can't test this in analysistest.
For golang/go#76161
Change-Id: Ibffaabfd97fde80f3244d87c6b732b3d8b7d026a
Reviewed-on: https://go-review.googlesource.com/c/tools/+/734580
Reviewed-by: Madeline Kalil <mkalil@google.com>
Auto-Submit: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>1 parent 09c21a9 commit ca281cf
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
248 | 258 | | |
249 | 259 | | |
250 | 260 | | |
| |||
0 commit comments