-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go/analysis/passes/printf: return Result for querying func Kind
printf.Result has IsPrint function telling the caller if a function is a Print/Printf function or a wrapper of one. This aids in developing Ananlyzer's applying checks on Print/Printf functions. Implements @alandonovan suggestion from golang/go#29616 (comment) Change-Id: I203d51f1fcab7d8574d9309c22b404f8e3de43db GitHub-Last-Rev: 5cb9115 GitHub-Pull-Request: #138 Reviewed-on: https://go-review.googlesource.com/c/tools/+/186317 Reviewed-by: Michael Matloob <[email protected]>
- Loading branch information
Showing
1 changed file
with
79 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters