[PATCH] D33732: Catch invalid bitwise operation on vector of floats

Bruno Cardoso Lopes via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 6 14:52:18 PDT 2017


bruno accepted this revision.
bruno added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: test/Sema/ext_vector_ops.c:22
+  int array2[17];
+  // FIXME: error message below needs type!
+  (void)(array2[v2ua]); // expected-error{{array subscript is not an integer}}
----------------
Can you file a PR for this?


https://reviews.llvm.org/D33732





More information about the cfe-commits mailing list