rsmith added a comment.

So the driver would pass a flag to the frontend to indicate "this target 
probably doesn't have aligned allocation support", and Sema would produce a 
warning if it selects an aligned allocation function when that flag is 
specified? That makes sense to me.

Should we also remove the recently-added availability attributes in libc++ too? 
If I'm using a recent libc++ and providing my own aligned allocation functions, 
we shouldn't reject attempts to call those aligned allocation functions.


https://reviews.llvm.org/D34574



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to