Skip to content

Commit 7c36e1d

Browse files
authored
[NFC] Remove deprecated Argument::getParamAlignment() declaration (#169911)
The implementation of Argument::getParamAlignment() was removed in commit b55f83d, but the declaration in Argument.h was left behind. Remove it. NFC.
1 parent 9999c31 commit 7c36e1d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

llvm/include/llvm/IR/Argument.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,6 @@ class Argument final : public Value {
108108
/// returned. Otherwise, nullptr.
109109
LLVM_ABI Type *getPointeeInMemoryValueType() const;
110110

111-
/// If this is a byval or inalloca argument, return its alignment.
112-
/// FIXME: Remove this function once transition to Align is over.
113-
/// Use getParamAlign() instead.
114-
LLVM_ABI LLVM_DEPRECATED("Use getParamAlign() instead",
115-
"getParamAlign") uint64_t getParamAlignment() const;
116-
117111
/// If this is a byval or inalloca argument, return its alignment.
118112
LLVM_ABI MaybeAlign getParamAlign() const;
119113

0 commit comments

Comments
 (0)