summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-27 21:23:46 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-27 21:23:46 +0000
commitec2589863b32da169240c4fa120ef1e3798615d4 (patch)
tree15f8dd4b53704179eb3ce4c55cf4aea4af748f15 /include
parenta5372d270864316fb0752dd366f03fc1b45c6143 (diff)
downloadllvm-ec2589863b32da169240c4fa120ef1e3798615d4.tar.gz
llvm-ec2589863b32da169240c4fa120ef1e3798615d4.tar.bz2
llvm-ec2589863b32da169240c4fa120ef1e3798615d4.tar.xz
s/AttrList/pImpl/g in AttributeSet. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173628 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/IR/Attributes.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h
index 46ba596307..8959510714 100644
--- a/include/llvm/IR/Attributes.h
+++ b/include/llvm/IR/Attributes.h
@@ -210,7 +210,7 @@ private:
/// \brief The attributes that we are managing. This can be null to represent
/// the empty attributes list.
- AttributeSetImpl *AttrList;
+ AttributeSetImpl *pImpl;
/// \brief The attributes for the specified index are returned. Attributes
/// for the result are denoted with Idx = 0.
@@ -230,10 +230,10 @@ private:
/// N.B. this is only temporary. It will be disappearing in the future.
static AttributeSet get(LLVMContext &C, ArrayRef<AttributeWithIndex> Attrs);
- explicit AttributeSet(AttributeSetImpl *LI) : AttrList(LI) {}
+ explicit AttributeSet(AttributeSetImpl *LI) : pImpl(LI) {}
public:
- AttributeSet() : AttrList(0) {}
- AttributeSet(const AttributeSet &P) : AttrList(P.AttrList) {}
+ AttributeSet() : pImpl(0) {}
+ AttributeSet(const AttributeSet &P) : pImpl(P.pImpl) {}
const AttributeSet &operator=(const AttributeSet &RHS);
//===--------------------------------------------------------------------===//
@@ -320,10 +320,10 @@ public:
/// operator==/!= - Provide equality predicates.
bool operator==(const AttributeSet &RHS) const {
- return AttrList == RHS.AttrList;
+ return pImpl == RHS.pImpl;
}
bool operator!=(const AttributeSet &RHS) const {
- return AttrList != RHS.AttrList;
+ return pImpl != RHS.pImpl;
}
//===--------------------------------------------------------------------===//
@@ -332,7 +332,7 @@ public:
/// \brief Return a raw pointer that uniquely identifies this attribute list.
void *getRawPointer() const {
- return AttrList;
+ return pImpl;
}
// Attributes are stored as a dense set of slots, where there is one slot for
@@ -341,7 +341,7 @@ public:
/// \brief Return true if there are no attributes.
bool isEmpty() const {
- return AttrList == 0;
+ return pImpl == 0;
}
/// \brief Return the number of slots used in this attribute list. This is