[PATCH] D66333: NonNullParamChecker and CStringChecker parameter number in checker message
Tibor Brunner via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 16 01:15:49 PDT 2019
bruntib created this revision.
bruntib added reviewers: alexfh, NoQ, Szelethus, xazax.hun.
Herald added subscribers: cfe-commits, rnkovacs.
Herald added a project: clang.
There are some functions which can't be given a null pointer as parameter either because it has a nonnull attribute or it is declared to have undefined behavior (e.g. strcmp()). Sometimes it is hard to determine from the checker message which parameter is null at the invocation, so now this information is included in the message.
This commit fixes https://bugs.llvm.org/show_bug.cgi?id=39358
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10437 bytes
Desc: not available
More information about the cfe-commits