[all-commits] [llvm/llvm-project] 9e82ee: [Support] Remove AlignedCharArrayUnion from Expect...

Jonas Hahnfeld via All-commits all-commits at lists.llvm.org
Sun Feb 23 03:35:05 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e82ee5274ece4f0638bc665fbb418d730a16d0a
      https://github.com/llvm/llvm-project/commit/9e82ee5274ece4f0638bc665fbb418d730a16d0a
  Author: Jonas Hahnfeld <hahnjo at hahnjo.de>
  Date:   2025-02-23 (Sun, 23 Feb 2025)

  Changed paths:
    M llvm/include/llvm/Support/Error.h
    M llvm/include/llvm/Support/ErrorOr.h
    M llvm/include/llvm/Support/TrailingObjects.h

  Log Message:
  -----------
  [Support] Remove AlignedCharArrayUnion from Expected and ErrorOr, NFCI. (#127407)

They were instantiated with only a single type and union-members
themselves. By putting the types directly into a union, they are still
left uninitialized by default.



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