[Alignment][NFC] Move and type functions from MathExtras to Alignment
authorGuillaume Chatelet <gchatelet@google.com>
Mon, 14 Oct 2019 13:14:34 +0000 (13:14 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Mon, 14 Oct 2019 13:14:34 +0000 (13:14 +0000)
commitce56e1a1cc5714f4af5675dd963cfebed766d9e1
tree45c6eae172f40a05492dc6566b21e66a836e41ff
parent77748129650271ebd7b3f9c2c6c4f8110cb4a845
[Alignment][NFC] Move and type functions from MathExtras to Alignment

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

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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

llvm-svn: 374773
llvm/include/llvm/Support/Alignment.h
llvm/include/llvm/Support/Allocator.h
llvm/include/llvm/Support/BinaryStreamArray.h
llvm/include/llvm/Support/BinaryStreamReader.h
llvm/include/llvm/Support/MathExtras.h
llvm/include/llvm/Support/TrailingObjects.h
llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
llvm/lib/Support/Unix/Memory.inc
llvm/unittests/Support/AlignmentTest.cpp
llvm/unittests/Support/AllocatorTest.cpp
llvm/unittests/Support/TrailingObjectsTest.cpp