summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Function.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-12-07 23:16:57 +0000
committerBill Wendling <isanbard@gmail.com>2012-12-07 23:16:57 +0000
commite94d843e43d1b87f843de276381eaf9b13b487dd (patch)
tree66ca31b77ba8a5a14c46678361c231166d9e4e7f /llvm/lib/VMCore/Function.cpp
parent8ecd491e7560eb8c451220414ec849b180462105 (diff)
downloadbcm5719-llvm-e94d843e43d1b87f843de276381eaf9b13b487dd.tar.gz
bcm5719-llvm-e94d843e43d1b87f843de276381eaf9b13b487dd.zip
s/AttrListPtr/AttributeSet/g to better label what this class is going to be in the near future.
llvm-svn: 169651
Diffstat (limited to 'llvm/lib/VMCore/Function.cpp')
-rw-r--r--llvm/lib/VMCore/Function.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/Function.cpp b/llvm/lib/VMCore/Function.cpp
index 860787e1b8e..9b2046bb127 100644
--- a/llvm/lib/VMCore/Function.cpp
+++ b/llvm/lib/VMCore/Function.cpp
@@ -249,13 +249,13 @@ void Function::dropAllReferences() {
}
void Function::addAttribute(unsigned i, Attributes attr) {
- AttrListPtr PAL = getAttributes();
+ AttributeSet PAL = getAttributes();
PAL = PAL.addAttr(getContext(), i, attr);
setAttributes(PAL);
}
void Function::removeAttribute(unsigned i, Attributes attr) {
- AttrListPtr PAL = getAttributes();
+ AttributeSet PAL = getAttributes();
PAL = PAL.removeAttr(getContext(), i, attr);
setAttributes(PAL);
}
OpenPOWER on IntegriCloud