[all-commits] [llvm/llvm-project] 03dd20: Adjust max_align_t handling

Joerg Sonnenberger via All-commits all-commits at lists.llvm.org
Mon Feb 24 16:43:05 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 03dd205c1516d9930a80101a7e0a6793af47ec9e
      https://github.com/llvm/llvm-project/commit/03dd205c1516d9930a80101a7e0a6793af47ec9e
  Author: Joerg Sonnenberger <joerg at bec.de>
  Date:   2020-02-25 (Tue, 25 Feb 2020)

  Changed paths:
    M libcxx/include/cstddef
    M libcxx/include/new
    M libcxx/include/stddef.h

  Log Message:
  -----------
  Adjust max_align_t handling

Depend on the compiler to provide a correct implementation of
max_align_t. If __STDCPP_NEW_ALIGNMENT__ is missing and C++03 mode has
been explicitly enabled, provide a minimal fallback in <new> as
alignment of the largest primitive types.


  Commit: 4e45ef4d77b74350ea5a64a216b046ea6be1b96f
      https://github.com/llvm/llvm-project/commit/4e45ef4d77b74350ea5a64a216b046ea6be1b96f
  Author: Joerg Sonnenberger <joerg at bec.de>
  Date:   2020-02-25 (Tue, 25 Feb 2020)

  Changed paths:
    M llvm/lib/Support/Unix/Path.inc

  Log Message:
  -----------
  Prefer PATH_MAX to MAXPATHLEN

The former is part of POSIX and requires less heavy headers. They are
practically functionally equivalent.


Compare: https://github.com/llvm/llvm-project/compare/e34ddc09f464...4e45ef4d77b7


More information about the All-commits mailing list