[PATCH] D58236: Make address space conversions a bit stricter.
Bevin Hansson via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 26 13:28:46 PDT 2019
ebevhan added a comment.
In D58236#1443082 <https://reviews.llvm.org/D58236#1443082>, @rjmccall wrote:
> I think C probably requires us to allow this under an explicit cast, but we can at least warn about it. It does not require us to allow this as an implicit conversion, and that should be an error.
Are you referring to casts to and from `void*`? I think the standard says those have to be allowed, and I don't see anything about whether or not the conversion has to be explicit.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58236/new/
https://reviews.llvm.org/D58236
More information about the cfe-commits
mailing list