summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-22 16:30:47 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-22 16:30:47 +0000
commit386837680f2952cc0e167d2166040c4d2bf030d8 (patch)
treecaf71f1bfe91bb093fcc8fc75e54b39901ecbc8f /llvm
parentd1906a945d260cbe4d19759bacd2f36ac77e7b5f (diff)
downloadbcm5719-llvm-386837680f2952cc0e167d2166040c4d2bf030d8.tar.gz
bcm5719-llvm-386837680f2952cc0e167d2166040c4d2bf030d8.zip
Undo premature commit.
llvm-svn: 36344
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/ParameterAttributes.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/include/llvm/ParameterAttributes.h b/llvm/include/llvm/ParameterAttributes.h
index 87311c8de8b..4c4b0c75821 100644
--- a/llvm/include/llvm/ParameterAttributes.h
+++ b/llvm/include/llvm/ParameterAttributes.h
@@ -70,7 +70,7 @@ class ParamAttrsList : public FoldingSetNode {
void operator=(const ParamAttrsList &); // Do not implement
ParamAttrsList(const ParamAttrsList &); // Do not implement
ParamAttrsList(); // Do not implement
- ~ParamAttrsList();
+ ~ParamAttrsList() {} // Not public!
/// @brief Construct an ParamAttrsList from a ParamAttrsVector
explicit ParamAttrsList(const ParamAttrsVector &attrVec) : attrs(attrVec) {}
@@ -162,15 +162,12 @@ class ParamAttrsList : public FoldingSetNode {
public:
void Profile(FoldingSetNodeID &ID) const;
void dump() const;
- void addRef() const { refCount++; }
- void dropRef() const { if (--refCount == 0) delete this; }
/// @}
/// @name Data
/// @{
private:
ParamAttrsVector attrs; ///< The list of attributes
- mutable unsigned refCount; ///< The number of references to this object
/// @}
};
OpenPOWER on IntegriCloud