Spell out the template args for compilers having issues with the injected class
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 15 Sep 2014 16:13:33 +0000 (16:13 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 15 Sep 2014 16:13:33 +0000 (16:13 +0000)
name.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217780 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Bitcode/BitCodes.h

index 71e0d00da505cbed80d5ce37f3de93a91b237775..ed2dcf84f924df78aba6a79740ba9a3bf6037d9b 100644 (file)
@@ -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 {