aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Attributes.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2021-08-13 11:16:52 -0700
committerArthur Eubanks <aeubanks@google.com>2021-08-13 11:16:52 -0700
commit80ea2bb57450a65cc724565ecfc9971ad93a3f15 (patch)
tree2ae476e252e89c6e53ab484f0f9759afd710ab84 /llvm/lib/IR/Attributes.cpp
parent92ce6db9ee7666a347fccf0f72ba3225b199d6d1 (diff)
downloadllvm-80ea2bb57450a65cc724565ecfc9971ad93a3f15.zip
llvm-80ea2bb57450a65cc724565ecfc9971ad93a3f15.tar.gz
llvm-80ea2bb57450a65cc724565ecfc9971ad93a3f15.tar.bz2
[NFC] Rename AttributeList::getParam/Ret/FnAttributes() -> get*Attributes()
This is more consistent with similar methods.
Diffstat (limited to 'llvm/lib/IR/Attributes.cpp')
-rw-r--r--llvm/lib/IR/Attributes.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/IR/Attributes.cpp b/llvm/lib/IR/Attributes.cpp
index 59c0ced..9bdaa56 100644
--- a/llvm/lib/IR/Attributes.cpp
+++ b/llvm/lib/IR/Attributes.cpp
@@ -1372,15 +1372,15 @@ AttributeList AttributeList::addVScaleRangeAttr(LLVMContext &C, unsigned Index,
// AttributeList Accessor Methods
//===----------------------------------------------------------------------===//
-AttributeSet AttributeList::getParamAttributes(unsigned ArgNo) const {
+AttributeSet AttributeList::getParamAttrs(unsigned ArgNo) const {
return getAttributes(ArgNo + FirstArgIndex);
}
-AttributeSet AttributeList::getRetAttributes() const {
+AttributeSet AttributeList::getRetAttrs() const {
return getAttributes(ReturnIndex);
}
-AttributeSet AttributeList::getFnAttributes() const {
+AttributeSet AttributeList::getFnAttrs() const {
return getAttributes(FunctionIndex);
}