[PATCH] D17103: [CUDA] Don't crash when trying to printf a non-scalar object.

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 10 15:00:15 PST 2016


tra added a comment.

Erasing an argument would only complicate the problem.
I guess for consistency we need to match clang's behavior for regular C++ code.
For optimized builds it just seems to pass NULL pointer instead.


http://reviews.llvm.org/D17103





More information about the cfe-commits mailing list