[all-commits] [llvm/llvm-project] 19662e: [libc++] Also provide an alignment assumption for ...

Louis Dionne via All-commits all-commits at lists.llvm.org
Mon Feb 10 17:00:30 PST 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 19662e3a4f5d9114d9293cebca9bc830d3baf7db
      https://github.com/llvm/llvm-project/commit/19662e3a4f5d9114d9293cebca9bc830d3baf7db
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2025-02-10 (Mon, 10 Feb 2025)

  Changed paths:
    M libcxx/include/__vector/vector.h

  Log Message:
  -----------
  [libc++] Also provide an alignment assumption for vector in C++03 mode (#124839)

There's no reason not to, and it's easy enough to do using enable_if. As
a drive-by change, also add a missing _LIBCPP_NO_CFI attribute on
__add_alignment_assumption.

(cherry picked from commit ccb08b9dab7d829f8d9703d8b46b98e2d6717d0e)



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