[PATCH] D78118: [analyzer] StdLibraryFunctionsChecker: Add option to display loaded summaries
Gabor Marton via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 28 10:44:28 PDT 2020
martong added a comment.
In D78118#2007943 <https://reviews.llvm.org/D78118#2007943>, @martong wrote:
> In D78118#1988464 <https://reviews.llvm.org/D78118#1988464>, @balazske wrote:
>
> > The new option will simply list the (found) functions that have a summary based check enabled. (The term "Loaded" may be misleading in the current implementation, somebody can think if it is loaded from file?) A more detailed output would be better (display the signature too, or maybe the whole summary?). For simple purpose the current way may be enough but it may be useful (probably for a non-checker-developer too) to see the summary details.
>
>
> Yes, "loaded" might not be the best, I changed it to "found". About the more detailed output: is there a way to dump nicely the signature of a function decl? I don't want to dump the AST of it because that might be overkill. Could I just dump the content of the buffer that relates to the SourceRange of the FunctionDecl (if that does not have a definition)?
I just have updated the patch so now the signature is printed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78118/new/
https://reviews.llvm.org/D78118
More information about the cfe-commits
mailing list