[Alignment] Move OffsetToAlignment to Alignment.h
authorGuillaume Chatelet <gchatelet@google.com>
Thu, 12 Sep 2019 15:20:36 +0000 (15:20 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Thu, 12 Sep 2019 15:20:36 +0000 (15:20 +0000)
commitaf11cc7eb5da320066d88a8f6d015e6296f0da25
tree8b2da3ac0f4a3b206edd98e49cc89917fecb6e5b
parent0866dbfa1a8b36db16f58d1bd60688474d1b9474
[Alignment] Move OffsetToAlignment to Alignment.h

Summary:
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Reviewers: courbet, JDevlieghere, alexshap, rupprecht, jhenderson

Subscribers: sdardis, nemanjai, hiraditya, kbarton, jakehehrlich, jrtc27, MaskRay, atanasyan, jsji, seiya, cfe-commits, llvm-commits

Tags: #clang, #llvm

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

llvm-svn: 371742
20 files changed:
clang/lib/AST/DeclBase.cpp
llvm/include/llvm/Support/Alignment.h
llvm/include/llvm/Support/MathExtras.h
llvm/include/llvm/Support/OnDiskHashTable.h
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/BranchRelaxation.cpp
llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
llvm/lib/MC/ELFObjectWriter.cpp
llvm/lib/MC/MCAssembler.cpp
llvm/lib/MC/MachObjectWriter.cpp
llvm/lib/Object/ArchiveWriter.cpp
llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
llvm/lib/Target/Mips/MipsConstantIslandPass.cpp
llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
llvm/lib/Target/Mips/MipsSERegisterInfo.cpp
llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
llvm/tools/dsymutil/DwarfStreamer.cpp
llvm/tools/llvm-cov/TestingSupport.cpp
llvm/tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp