[all-commits] [llvm/llvm-project] 4e730a: [libcxx] Add deprecation notices to macros depreca...

Raul Tambre via All-commits all-commits at lists.llvm.org
Mon Dec 20 10:30:33 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e730aeb731cb9b7116ed51bbef662d363f72b66
      https://github.com/llvm/llvm-project/commit/4e730aeb731cb9b7116ed51bbef662d363f72b66
  Author: Raul Tambre <raul at tambre.ee>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

  Changed paths:
    M libcxx/docs/Status/Cxx20Papers.csv
    M libcxx/include/atomic
    M libcxx/src/barrier.cpp
    M libcxx/src/experimental/memory_resource.cpp
    M libcxx/src/ios.cpp
    M libcxx/test/libcxx/atomics/atomics.flag/init_bool.pass.cpp
    M libcxx/test/std/atomics/atomics.flag/init.pass.cpp
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_var_init.pass.cpp
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp
    M libcxx/test/std/thread/futures/futures.async/async.pass.cpp

  Log Message:
  -----------
  [libcxx] Add deprecation notices to macros deprecated in P0883R2

When P0883R2 was initially implemented in D103769 #pragma clang deprecated didn't exist yet.
We also forgot to cleanup usages in libc++ itself.

This takes care of both.

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




More information about the All-commits mailing list