summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Bitcode/BitCodes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/Bitcode/BitCodes.h b/llvm/include/llvm/Bitcode/BitCodes.h
index 71e0d00da50..ed2dcf84f92 100644
--- a/llvm/include/llvm/Bitcode/BitCodes.h
+++ b/llvm/include/llvm/Bitcode/BitCodes.h
@@ -165,7 +165,8 @@ template <> struct isPodLike<BitCodeAbbrevOp> { static const bool value=true; };
class BitCodeAbbrev : public RefCountedBase<BitCodeAbbrev> {
SmallVector<BitCodeAbbrevOp, 32> OperandList;
~BitCodeAbbrev() {}
- friend class RefCountedBase; // Only RefCountedBase is allowed to delete.
+ // Only RefCountedBase is allowed to delete.
+ friend class RefCountedBase<BitCodeAbbrev>;
public:
unsigned getNumOperandInfos() const {
OpenPOWER on IntegriCloud