[llvm] 80bb57f - Deprecate Argument::getParamAlignment()
Guillaume Chatelet via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 16 04:44:25 PST 2023
Author: Guillaume Chatelet
Date: 2023-01-16T12:44:10Z
New Revision: 80bb57fd992533ae56fb3df1b170706628c970fc
URL: https://github.com/llvm/llvm-project/commit/80bb57fd992533ae56fb3df1b170706628c970fc
DIFF: https://github.com/llvm/llvm-project/commit/80bb57fd992533ae56fb3df1b170706628c970fc.diff
LOG: Deprecate Argument::getParamAlignment()
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 3b74853cdafa1..dba1dbc26ae39 100644
--- a/llvm/include/llvm/IR/Argument.h
+++ b/llvm/include/llvm/IR/Argument.h
@@ -96,6 +96,7 @@ class Argument final : public Value {
/// 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_DEPRECATED("Use getParamAlign() instead", "getParamAlign")
uint64_t getParamAlignment() const;
/// If this is a byval or inalloca argument, return its alignment.
More information about the llvm-commits
mailing list