Go to file
Louis Dionne ea5cd3b476 [libc++] Add deprecated attributes to many deprecated components
Summary:
These deprecation warnings are opt-in: they are only enabled when the
_LIBCXX_DEPRECATION_WARNINGS macro is defined, which is not the case
by default. Note that this is a first step in the right direction, but
I wasn't able to get an exhaustive list of all deprecated components
per standard, so there's certainly stuff that's missing. The list of
components this commit marks as deprecated is:

in C++11:
- auto_ptr, auto_ptr_ref
- binder1st, binder2nd, bind1st(), bind2nd()
- pointer_to_unary_function, pointer_to_binary_function, ptr_fun()
- mem_fun_t, mem_fun1_t, const_mem_fun_t, const_mem_fun1_t, mem_fun()
- mem_fun_ref_t, mem_fun1_ref_t, const_mem_fun_ref_t, const_mem_fun1_ref_t, mem_fun_ref()

in C++14:
- random_shuffle()

in C++17:
- unary_negate, binary_negate, not1(), not2()

<rdar://problem/18168350>

Reviewers: mclow.lists, EricWF

Subscribers: christof, dexonsmith, llvm-commits

Differential Revision: https://reviews.llvm.org/D48912

llvm-svn: 342843
2018-09-23 18:35:00 +00:00
clang [analyzer][UninitializedObjectChecker] Using the new const methods of ImmutableList 2018-09-23 09:16:27 +00:00
clang-tools-extra [clangd] Remember to serialize symbol origin in YAML. 2018-09-21 13:04:57 +00:00
compiler-rt SafeStack: Fix flaky test (PR39001) 2018-09-21 19:02:32 +00:00
debuginfo-tests Revert "(Retry) Add a basic integration test for C++ smart pointers" 2018-08-20 19:53:33 +00:00
libclc configure: Rework support for gfx9+ devices that were added post LLVM 3.9 2018-09-15 22:02:01 +00:00
libcxx [libc++] Add deprecated attributes to many deprecated components 2018-09-23 18:35:00 +00:00
libcxxabi Update docs to reference new libc++ mailing lists. 2018-09-22 19:52:12 +00:00
libunwind [libunwind][NFC] Suppress unused parameter warnings 2018-09-22 18:18:34 +00:00
lld [COFF] Support linking to import libraries from GNU binutils 2018-09-21 22:01:06 +00:00
lldb Change type of m_user_expression_start_pos to size_t 2018-09-22 13:33:08 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm [X86] Added missing RCL/RCR schedule overrides to the generic SNB model 2018-09-23 17:40:24 +00:00
openmp [OPENMP][NVPTX] Add support for lastprivates/reductions handling in SPMD constructs with lightweight runtime. 2018-09-21 14:11:41 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly fix the scan-build urls 2018-09-21 09:07:58 +00:00
README.md

README.md

Low Level Virtual Machine (LLVM)

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.