[PATCH] D79431: [analyzer] StdLibraryFunctionsChecker: Add better diagnostics
Kristóf Umann via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 5 11:20:19 PDT 2020
Szelethus added a comment.
Sure, this is an improvement because we display more information, but I'd argue that it isn't really a more readable warning message :) How about
<argno>th argument to the call to <function name>
- cannot be represented with a character
- is a null pointer
- ...
, which violates the function's preconditions.
WDYT?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79431/new/
https://reviews.llvm.org/D79431
More information about the cfe-commits
mailing list