[all-commits] [llvm/llvm-project] d10f98: ADT: Migrate users of AlignedCharArrayUnion to std...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Fri Dec 4 12:39:56 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d10f9863a5ac1cb681af07719650c44b48f289ce
      https://github.com/llvm/llvm-project/commit/d10f9863a5ac1cb681af07719650c44b48f289ce
  Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
  Date:   2020-12-04 (Fri, 04 Dec 2020)

  Changed paths:
    M clang/include/clang/AST/APValue.h
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/AST/ASTTypeTraits.h
    M clang/include/clang/AST/ParentMapContext.h
    M clang/include/clang/Frontend/PrecompiledPreamble.h
    M clang/include/clang/Sema/Overload.h
    M clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp
    M clang/lib/DirectoryWatcher/windows/DirectoryWatcher-windows.cpp
    M clang/lib/Lex/PPDirectives.cpp
    M llvm/include/llvm/ADT/DenseMap.h
    M llvm/include/llvm/ADT/IntervalMap.h
    M llvm/include/llvm/CodeGen/DIE.h
    M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
    M llvm/include/llvm/Support/Error.h
    M llvm/include/llvm/Support/ErrorOr.h
    M llvm/include/llvm/Support/JSON.h
    M llvm/include/llvm/Support/TrailingObjects.h
    M llvm/include/llvm/Support/YAMLTraits.h
    M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp

  Log Message:
  -----------
  ADT: Migrate users of AlignedCharArrayUnion to std::aligned_union_t, NFC

Prepare to delete `AlignedCharArrayUnion` by migrating its users over to
`std::aligned_union_t`.

I will delete `AlignedCharArrayUnion` and its tests in a follow-up
commit so that it's easier to revert in isolation in case some
downstream wants to keep using it.

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




More information about the All-commits mailing list