[PATCH] D30341: [analyzer] clarify error messages about uninitialized function arguments
Daniel Marjamäki via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 6 23:43:58 PST 2017
danielmarjamaki added a comment.
No the argument is not shown with tilde/column number.
Code example:
void f(int x, ...);
void dostuff() {
int x[10];
f(12,3,4,5,x[3],6,7,8);
}
Output:
C:\Users\danielm>\llvm\build\Debug\bin\clang -cc1 -analyze -analyzer-checker=core test3.c
test3.c:6:3: warning: Function call argument is an uninitialized value
f(12,3,4,5,x[3],6,7,8);
^~~~~~~~~~~~~~~~~~~~~~
Repository:
rL LLVM
https://reviews.llvm.org/D30341
More information about the cfe-commits
mailing list