[PATCH] D40275: [CUDA] Report "unsupported VLA" errors only on device side.

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 20 16:55:52 PST 2017


tra added a comment.

In https://reviews.llvm.org/D40275#930982, @Hahnfeld wrote:

> And please add a regression test which is apparently missing for the case that a VLA is **NOT** diagnosed in CUDA mode


Hmm. We do have test/SemaCUDA/vla.cu which should've triggered the error. Let me see why it didn't happen.


https://reviews.llvm.org/D40275





More information about the cfe-commits mailing list