diff options
| author | sohail <150878950+sohail103@users.noreply.github.com> | 2026-01-30 11:21:52 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-30 13:51:52 +0800 |
| commit | 9bde15d76dd8d1c93ce7b9b2e25265f57ac3a9f4 (patch) | |
| tree | 829f4be82496815ea42c77602ea5cf2ab8cba81b /llvm/lib/Target/WebAssembly/WebAssemblyRegisterInfo.td | |
| parent | 737f4447adf258dc605e270f18abc6dc2082ef31 (diff) | |
| download | llvm-main.zip llvm-main.tar.gz llvm-main.tar.bz2 | |
`std::launch::any` was a draft C++11 feature that was removed before the
final standard but it has remained in libc++ as an extension. This patch
marks it as deprecated and suggests using `std::launch::async |
std::launch::deferred` instead.
- Used `_LIBCPP_DEPRECATED_` to mark `std::launch::any` as deprecated
with an associated warning message recommending `std::launch::async |
std::launch::deferred` instead.
- Added a `.verify.cpp` test to validate the deprecation warning.
- Updated existing tests to avoid using the deprecated extension.
- Added note about deprecation in docs.
Fixes #173219
---------
Co-authored-by: Louis Dionne <ldionne.2@gmail.com>
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyRegisterInfo.td')
0 files changed, 0 insertions, 0 deletions
