[PATCH] D45015: [Preprocessor] Allow libc++ to detect when aligned allocation is unavailable.
Eric Fiselier via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 1 18:52:43 PDT 2018
EricWF updated this revision to Diff 149596.
EricWF edited the summary of this revision.
EricWF added a comment.
Update the patch with the form suggested in the previous conversation. See the updated summary for a description of the behavior.
The Darwin driver no longer passes `-faligned-alloc-unavailable` when `-nostdinc++` is specified, but I'm not sure this is the behavior
we want. Having `-nostdinc++` have side-effects which affect the well-formedness of new/delete expressions seems non-obvious and potentially problematic.
https://reviews.llvm.org/D45015
Files:
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Driver/ToolChains/Darwin.cpp
lib/Frontend/InitPreprocessor.cpp
lib/Sema/SemaExprCXX.cpp
test/Driver/unavailable_aligned_allocation.cpp
test/Lexer/aligned-allocation.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45015.149596.patch
Type: text/x-patch
Size: 5759 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180602/dc8fc7f5/attachment-0001.bin>
More information about the cfe-commits
mailing list