[PATCH] D24113: Allow implicit conversions between incompatible pointer types in overload resolution in C.
George Burgess IV via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 6 22:55:18 PDT 2016
george.burgess.iv added a comment.
> Although I think that users will expect atomic_add(unsigned int *, 5) to work.without error
Totally agree; I was just making sure that I understood the problem. :)
I think, with a small tweak in semantics, we can make everything work without needing to patch existing code. Let me play around a little.
Repository:
rL LLVM
https://reviews.llvm.org/D24113
More information about the cfe-commits
mailing list