[all-commits] [llvm/llvm-project] 9474e0: [libc++] Granularize the <new> header (#119270)

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Dec 13 11:18:18 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9474e09459189fbed30f329a669f9c14979c5367
      https://github.com/llvm/llvm-project/commit/9474e09459189fbed30f329a669f9c14979c5367
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-12-13 (Fri, 13 Dec 2024)

  Changed paths:
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__hash_table
    M libcxx/include/__memory/allocator.h
    M libcxx/include/__memory/builtin_new_allocator.h
    M libcxx/include/__memory/construct_at.h
    M libcxx/include/__memory/shared_ptr.h
    M libcxx/include/__memory/uninitialized_algorithms.h
    A libcxx/include/__new/align_val_t.h
    A libcxx/include/__new/allocate.h
    A libcxx/include/__new/destroying_delete_t.h
    A libcxx/include/__new/exceptions.h
    A libcxx/include/__new/global_new_delete.h
    A libcxx/include/__new/interference_size.h
    A libcxx/include/__new/launder.h
    A libcxx/include/__new/new_handler.h
    A libcxx/include/__new/nothrow_t.h
    A libcxx/include/__new/placement_new_delete.h
    M libcxx/include/__utility/small_buffer.h
    M libcxx/include/array
    M libcxx/include/charconv
    M libcxx/include/forward_list
    M libcxx/include/future
    M libcxx/include/list
    M libcxx/include/module.modulemap
    M libcxx/include/new
    M libcxx/test/libcxx/transitive_includes/cxx03.csv
    M libcxx/test/libcxx/transitive_includes/cxx11.csv
    M libcxx/test/libcxx/transitive_includes/cxx14.csv
    M libcxx/test/libcxx/transitive_includes/cxx23.csv
    M libcxx/test/libcxx/transitive_includes/cxx26.csv
    M libcxx/test/std/language.support/support.dynamic/alloc.errors/bad.alloc/bad_alloc.pass.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new_array.pass.cpp
    M libcxx/test/std/language.support/support.dynamic/ptr.launder/launder.types.verify.cpp
    M libcxx/test/std/utilities/memory/default.allocator/allocator.members/allocate.size.pass.cpp
    M libcxxabi/test/cxa_vec_new_overflow_PR41395.pass.cpp

  Log Message:
  -----------
  [libc++] Granularize the <new> header (#119270)

This disentangles the code which previously had a mix of many #ifdefs, a
non-versioned namespace and a versioned namespace. It also makes it
clearer which parts of <new> are implemented on Windows by including <new.h>.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list