fanbo-meng added inline comments.
================
Comment at: clang/lib/Sema/SemaExprCXX.cpp:1841
- << IsDelete << FD.getType().getAsString() << OSName
- << alignedAllocMinVersion(T.getOS()).getAsString();
Diag(Loc, diag::note_silence_aligned_allocation_unavailable);
----------------
hubert.reinterpretcast wrote:
> Just to ensure we are on the same page:
> Passing `-Xclang -faligned-alloc-unavailable` on the non-Apple platforms does
> very bad things (hits "unreachable" and otherwise falls off the end of a
> function without initializing a return value). Part of this patch makes
> passing `-Xclang -faligned-alloc-unavailable` okay on z/OS.
Yes, as we are trying to solve the same problem like Darwin (lack of support in
system libraries), we use the same mechanism that are introduced for that.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87611/new/
https://reviews.llvm.org/D87611
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits