Changes in directory llvm/include/llvm:
ParameterAttributes.h updated: 1.9 -> 1.10 --- Log message: Undo premature commit. --- Diffs of the changes: (+1 -4) ParameterAttributes.h | 5 +---- 1 files changed, 1 insertion(+), 4 deletions(-) Index: llvm/include/llvm/ParameterAttributes.h diff -u llvm/include/llvm/ParameterAttributes.h:1.9 llvm/include/llvm/ParameterAttributes.h:1.10 --- llvm/include/llvm/ParameterAttributes.h:1.9 Sun Apr 22 11:29:35 2007 +++ llvm/include/llvm/ParameterAttributes.h Sun Apr 22 11:30:47 2007 @@ -70,7 +70,7 @@ 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 @@ 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 /// @} }; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits