mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-23 12:08:25 +00:00
Undo premature commit.
llvm-svn: 36344
This commit is contained in:
parent
f2bf7ece0f
commit
5e886278ba
@ -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
|
||||
/// @}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user