[PATCH] D30341: [analyzer] clarify error messages about uninitialized function arguments
Daniel Marjamäki via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 24 08:45:08 PST 2017
danielmarjamaki created this revision.
This patch clarify the error messages about uninitialized function arguments.
It can be really hard to see the problem if there are 10-20 arguments like:
printf("debug:....", a, b.c, d, e, ...);
with no info about which argument is uninitialized and with a complicated path to investigate it's hard to see the bug.
Repository:
rL LLVM
https://reviews.llvm.org/D30341
Files:
lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
test/Analysis/NewDelete-checker-test.cpp
test/Analysis/diagnostics/undef-value-param.m
test/Analysis/malloc.m
test/Analysis/misc-ps-region-store.m
test/Analysis/misc-ps.m
test/Analysis/null-deref-ps.c
test/Analysis/nullptr.cpp
test/Analysis/uninit-const.c
test/Analysis/uninit-const.cpp
test/Analysis/uninit-msg-expr.m
test/Analysis/uninit-vals-ps.c
test/Analysis/uninit-vals.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30341.89677.patch
Type: text/x-patch
Size: 26215 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170224/06e1ae0b/attachment-0001.bin>
More information about the cfe-commits
mailing list