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

2017-07-19 Thread Akira Hatanaka via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL308496: [Sema] Improve diagnostic message for unavailable C++17 aligned (authored by ahatanak). Changed prior to commit: https://reviews.llvm.org/D35520?vs=107140=107336#toc Repository: rL LLVM

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

2017-07-19 Thread Alex Lorenz via Phabricator via cfe-commits
arphaman accepted this revision. arphaman added a comment. This revision is now accepted and ready to land. LGTM, Thanks. https://reviews.llvm.org/D35520 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

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

2017-07-18 Thread Akira Hatanaka via Phabricator via cfe-commits
ahatanak updated this revision to Diff 107140. ahatanak marked 6 inline comments as done. ahatanak added a comment. Address review comments. https://reviews.llvm.org/D35520 Files: include/clang/Basic/AlignedAllocation.h include/clang/Basic/DiagnosticSemaKinds.td

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

2017-07-18 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman added inline comments. Comment at: include/clang/Basic/AlignedAllocation.h:12 +/// \brief Defines a function that returns the minimum OS versions supporting +/// c++17's aligned allocation functions. +/// c++17 -> C++17

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

2017-07-18 Thread Alex Lorenz via Phabricator via cfe-commits
arphaman added inline comments. Comment at: include/clang/Basic/AlignedAllocation.h:25 + +static inline VersionTuple alignedAllocMinVersion(llvm::Triple::OSType OS) { + switch (OS) { Redundant `static`? Comment at:

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

2017-07-17 Thread Akira Hatanaka via Phabricator via cfe-commits
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