[PATCH] D99098: Remove deprecated member functions (NFC)
Momchil Velikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 14 11:10:47 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGa0124f4e4ded: Remove deprecated member functions (NFC) (authored by chill).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99098/new/
https://reviews.llvm.org/D99098
Files:
llvm/include/llvm/CodeGen/TargetCallingConv.h
Index: llvm/include/llvm/CodeGen/TargetCallingConv.h
===================================================================
--- llvm/include/llvm/CodeGen/TargetCallingConv.h
+++ llvm/include/llvm/CodeGen/TargetCallingConv.h
@@ -141,11 +141,6 @@
bool isPointer() const { return IsPointer; }
void setPointer() { IsPointer = 1; }
- LLVM_ATTRIBUTE_DEPRECATED(unsigned getByValAlign() const,
- "Use getNonZeroByValAlign() instead") {
- MaybeAlign A = decodeMaybeAlign(ByValOrByRefAlign);
- return A ? A->value() : 0;
- }
Align getNonZeroByValAlign() const {
MaybeAlign A = decodeMaybeAlign(ByValOrByRefAlign);
assert(A && "ByValAlign must be defined");
@@ -161,11 +156,6 @@
setAlignImpl(A);
}
- LLVM_ATTRIBUTE_DEPRECATED(unsigned getOrigAlign() const,
- "Use getNonZeroOrigAlign() instead") {
- MaybeAlign A = decodeMaybeAlign(OrigAlign);
- return A ? A->value() : 0;
- }
Align getNonZeroOrigAlign() const {
return decodeMaybeAlign(OrigAlign).valueOrOne();
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99098.337494.patch
Type: text/x-patch
Size: 1104 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210414/f62d82f8/attachment.bin>
More information about the llvm-commits
mailing list