NoQ added inline comments.
================
Comment at: test/Analysis/cxx-uninitialized-object-ptr-ref.cpp:290
struct IntDynTypedVoidPointerTest1 {
- void *vptr; // expected-note{{uninitialized pointee 'this->vptr'}}
+ void *vptr; // expected-note{{uninitialized pointee 'this->static_cast<int
*>(vptr)'}}
int dontGetFilteredByNonPedanticMode = 0;
----------------
Shouldn't this rather say something like `static_cast<int *>(this->vptr)`?
That's the normal syntax to do this sort of stuff, i guess.
https://reviews.llvm.org/D49228
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits