[all-commits] [llvm/llvm-project] 3557c7: [libc++] Remove workarounds for [[nodebug]] not wo...

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Sep 1 07:51:38 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3557c7c1226fa222499a2b9d4cbc36dfeda6f53c
      https://github.com/llvm/llvm-project/commit/3557c7c1226fa222499a2b9d4cbc36dfeda6f53c
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-09-01 (Wed, 01 Sep 2021)

  Changed paths:
    M libcxx/CMakeLists.txt
    M libcxx/include/__config
    M libcxx/include/__functional/function.h
    M libcxx/include/__functional/hash.h
    M libcxx/include/__functional/unwrap_ref.h
    M libcxx/include/__functional/weak_result_type.h
    M libcxx/include/__memory/allocator_arg_t.h
    M libcxx/include/__memory/allocator_traits.h
    M libcxx/include/__memory/compressed_pair.h
    M libcxx/include/__memory/pointer_traits.h
    M libcxx/include/__memory/shared_ptr.h
    M libcxx/include/__memory/unique_ptr.h
    M libcxx/include/__tuple
    M libcxx/include/__utility/integer_sequence.h
    M libcxx/include/__utility/move.h
    M libcxx/include/__utility/pair.h
    M libcxx/include/tuple
    M libcxx/include/type_traits
    M libcxx/include/variant

  Log Message:
  -----------
  [libc++] Remove workarounds for [[nodebug]] not working properly on typedefs in older Clangs

Clang used to support [[nodebug]] everywhere except on typedefs. Since
we don't support such old Clangs anymore, we can get rid of _LIBCPP_NODEBUG_TYPE
in favour of always using _LIBCPP_NODEBUG.

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




More information about the All-commits mailing list