[llvm] 7c36e1d - [NFC] Remove deprecated Argument::getParamAlignment() declaration (#169911)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 28 06:29:35 PST 2025
Author: Marco Elver
Date: 2025-11-28T15:29:31+01:00
New Revision: 7c36e1d424a782077ea22363e906367691676025
URL: https://github.com/llvm/llvm-project/commit/7c36e1d424a782077ea22363e906367691676025
DIFF: https://github.com/llvm/llvm-project/commit/7c36e1d424a782077ea22363e906367691676025.diff
LOG: [NFC] Remove deprecated Argument::getParamAlignment() declaration (#169911)
The implementation of Argument::getParamAlignment() was removed in
commit b55f83d013eff244f7cf6bfcd06f06f7c894ff28, but the declaration in
Argument.h was left behind. Remove it.
NFC.
Added:
Modified:
llvm/include/llvm/IR/Argument.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/Argument.h b/llvm/include/llvm/IR/Argument.h
index b9a73b3eb5fc2..6ffc0f8fd5155 100644
--- a/llvm/include/llvm/IR/Argument.h
+++ b/llvm/include/llvm/IR/Argument.h
@@ -108,12 +108,6 @@ class Argument final : public Value {
/// returned. Otherwise, nullptr.
LLVM_ABI Type *getPointeeInMemoryValueType() const;
- /// If this is a byval or inalloca argument, return its alignment.
- /// FIXME: Remove this function once transition to Align is over.
- /// Use getParamAlign() instead.
- LLVM_ABI LLVM_DEPRECATED("Use getParamAlign() instead",
- "getParamAlign") uint64_t getParamAlignment() const;
-
/// If this is a byval or inalloca argument, return its alignment.
LLVM_ABI MaybeAlign getParamAlign() const;
More information about the llvm-commits
mailing list