diff options
author | Arthur Eubanks <aeubanks@google.com> | 2021-08-13 11:16:52 -0700 |
---|---|---|
committer | Arthur Eubanks <aeubanks@google.com> | 2021-08-13 11:16:52 -0700 |
commit | 80ea2bb57450a65cc724565ecfc9971ad93a3f15 (patch) | |
tree | 2ae476e252e89c6e53ab484f0f9759afd710ab84 /llvm/lib/IR/Function.cpp | |
parent | 92ce6db9ee7666a347fccf0f72ba3225b199d6d1 (diff) | |
download | llvm-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/Function.cpp')
-rw-r--r-- | llvm/lib/IR/Function.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/Function.cpp b/llvm/lib/IR/Function.cpp index 2276c40..2755e53 100644 --- a/llvm/lib/IR/Function.cpp +++ b/llvm/lib/IR/Function.cpp @@ -177,7 +177,7 @@ static Type *getMemoryParamAllocType(AttributeSet ParamAttrs, Type *ArgTy) { uint64_t Argument::getPassPointeeByValueCopySize(const DataLayout &DL) const { AttributeSet ParamAttrs = - getParent()->getAttributes().getParamAttributes(getArgNo()); + getParent()->getAttributes().getParamAttrs(getArgNo()); if (Type *MemTy = getMemoryParamAllocType(ParamAttrs, getType())) return DL.getTypeAllocSize(MemTy); return 0; @@ -185,7 +185,7 @@ uint64_t Argument::getPassPointeeByValueCopySize(const DataLayout &DL) const { Type *Argument::getPointeeInMemoryValueType() const { AttributeSet ParamAttrs = - getParent()->getAttributes().getParamAttributes(getArgNo()); + getParent()->getAttributes().getParamAttrs(getArgNo()); return getMemoryParamAllocType(ParamAttrs, getType()); } |