[PATCH] D35520: [Sema] Improve diagnostic message for unavailable c++17 aligned allocation functions

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 17 17:07:59 PDT 2017


ahatanak created this revision.

This changes the error message Sema prints when an unavailable c++17 aligned allocation function is selected.

Original message: "... possibly unavailable on x86_64-apple-macos10.12"
New message: "... only available on macosx 10.13 or newer"

This is a follow-up to r306722.


https://reviews.llvm.org/D35520

Files:
  include/clang/Basic/AlignedAllocation.h
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Driver/ToolChains/Darwin.cpp
  lib/Sema/SemaExprCXX.cpp
  test/SemaCXX/unavailable_aligned_allocation.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35520.106982.patch
Type: text/x-patch
Size: 12937 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170718/fb2c0ee4/attachment.bin>


More information about the cfe-commits mailing list