[all-commits] [llvm/llvm-project] 982287: [libc++][experimental] Disables PMR in C++03.

mordante via All-commits all-commits at lists.llvm.org
Wed Aug 31 10:16:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 982287a29b8539bc0351bfb9ca82c9239d20e3a6
      https://github.com/llvm/llvm-project/commit/982287a29b8539bc0351bfb9ca82c9239d20e3a6
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
    M libcxx/include/experimental/deque
    M libcxx/include/experimental/forward_list
    M libcxx/include/experimental/list
    M libcxx/include/experimental/map
    M libcxx/include/experimental/memory_resource
    M libcxx/include/experimental/regex
    M libcxx/include/experimental/set
    M libcxx/include/experimental/string
    M libcxx/include/experimental/unordered_map
    M libcxx/include/experimental/unordered_set
    M libcxx/include/experimental/vector

  Log Message:
  -----------
  [libc++][experimental] Disables PMR in C++03.

While working on D132534 it appeared the experimental PMR code doesn't
have version guards and fails to compile on C++03. This adds the guards
for that version. It seems the tests already were only disabled for
C++03.

Reviewed By: ldionne, #libc

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


  Commit: 722ee9049de0490fc50ee96e634d48329ecb9805
      https://github.com/llvm/llvm-project/commit/722ee9049de0490fc50ee96e634d48329ecb9805
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
    M libcxx/test/libcxx/transitive_includes.sh.cpp
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.algorithm
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.any
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.array
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.atomic
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.barrier
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.bit
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.bitset
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.cassert
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.ccomplex
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.cctype
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.cerrno
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.cfenv
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.cfloat
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.charconv
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.chrono
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.cinttypes
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.ciso646
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.climits
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.clocale
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.cmath
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.codecvt
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.compare
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.complex
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.concepts
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.condition_variable
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.coroutine
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.csetjmp
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.csignal
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.cstdarg
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.cstdbool
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.cstddef
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.cstdint
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.cstdio
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.cstdlib
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.cstring
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.ctgmath
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.ctime
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.cuchar
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.cwchar
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.cwctype
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.deque
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.exception
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.execution
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.experimental_algorithm
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.experimental_coroutine
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.experimental_deque
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.experimental_forward_list
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.experimental_functional
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.experimental_iterator
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.experimental_list
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.experimental_map
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.experimental_memory_resource
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.experimental_propagate_const
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.experimental_regex
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.experimental_set
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.experimental_simd
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.experimental_string
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.experimental_type_traits
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.experimental_unordered_map
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.experimental_unordered_set
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.experimental_utility
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.experimental_vector
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.ext_hash_map
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.ext_hash_set
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.filesystem
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.format
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.forward_list
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.fstream
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.functional
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.future
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.initializer_list
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.iomanip
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.ios
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.iosfwd
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.iostream
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.istream
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.iterator
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.latch
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.limits
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.list
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.locale
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.map
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.memory
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.mutex
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.new
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.numbers
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.numeric
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.optional
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.ostream
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.queue
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.random
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.ranges
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.ratio
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.regex
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.scoped_allocator
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.semaphore
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.set
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.shared_mutex
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.span
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.sstream
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.stack
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.stdexcept
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.streambuf
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.string
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.string_view
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.strstream
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.system_error
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.thread
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.tuple
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.type_traits
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.typeindex
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.typeinfo
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.unordered_map
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.unordered_set
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.utility
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.valarray
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.variant
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.vector
    A libcxx/test/libcxx/transitive_includes/cxx03/expected.version

  Log Message:
  -----------
  [libc++] Tests transitive includes for all C++03.

A followup of D132534 with C++03 enabled after fixing the experimental
PMR issues.

Depends on D132582

Reviewed By: ldionne, #libc

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


Compare: https://github.com/llvm/llvm-project/compare/308a5b1a32f0...722ee9049de0


More information about the All-commits mailing list