Test fixed and changed to true positive, FIXME about false positive removed.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@354127
91177308-0d34-0410-b5e6-
96231b3b80d8
void f(const int *end);
void g(const int (&arrr)[10]) {
- f(arrr+sizeof(arrr)); // expected-warning{{1st function call argument is a pointer to uninitialized value}}
- // FIXME: This is a false positive that should be fixed. Until then this
- // tests the crash fix in FindLastStoreBRVisitor (beside
- // uninit-vals.m).
+ f(arrr); // expected-warning{{1st function call argument is a pointer to uninitialized value}}
}
void h() {