[all-commits] [llvm/llvm-project] 5b267f: ADT: Stop peeking inside AlignedCharArrayUnion, NFC

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Fri Dec 4 11:08:58 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b267fb7966157e0d79ea85cbc1d07f92f840d3c
      https://github.com/llvm/llvm-project/commit/5b267fb7966157e0d79ea85cbc1d07f92f840d3c
  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/ASTTypeTraits.h
    M clang/include/clang/AST/ParentMapContext.h
    M clang/lib/AST/APValue.cpp
    M clang/lib/AST/ASTImporter.cpp
    M clang/lib/Frontend/PrecompiledPreamble.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/Support/Error.h
    M llvm/include/llvm/Support/ErrorOr.h
    M llvm/include/llvm/Support/JSON.h
    M llvm/lib/Support/JSON.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp

  Log Message:
  -----------
  ADT: Stop peeking inside AlignedCharArrayUnion, NFC

Update all the users of `AlignedCharArrayUnion` to stop peeking inside
(to look at `buffer`) so that a follow-up patch can replace it with an
alias to `std::aligned_union_t`.

This was reviewed as part of https://reviews.llvm.org/D92512, but I'm
splitting this bit out to commit first to reduce churn in case the
change to `AlignedCharArrayUnion` needs to be reverted for some
unexpected reason.




More information about the All-commits mailing list