[PATCH] D61246: [analyzer][UninitializedObjectChecker] PR41611: Regard vector types as primitive
Dmitri Gribenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 29 00:55:26 PDT 2019
gribozavr added a comment.
Thank you for the quick fix!
================
Comment at: test/Analysis/cxx-uninitialized-object.cpp:1155
+void __vector_size__LongTest() {
+ VectorSizeLong v;
+}
----------------
Could you also add tests where the vector member is being subscripted? for example, `v.x[0] = 0;`
================
Comment at: test/Analysis/cxx-uninitialized-object.cpp:1155
+void __vector_size__LongTest() {
+ VectorSizeLong v;
+}
----------------
gribozavr wrote:
> Could you also add tests where the vector member is being subscripted? for example, `v.x[0] = 0;`
Should there be a warning about the member being uninitialized?
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61246/new/
https://reviews.llvm.org/D61246
More information about the cfe-commits
mailing list