[llvm] r217780 - Spell out the template args for compilers having issues with the injected class
Benjamin Kramer
benny.kra at googlemail.com
Mon Sep 15 09:13:33 PDT 2014
Author: d0k
Date: Mon Sep 15 11:13:33 2014
New Revision: 217780
URL: http://llvm.org/viewvc/llvm-project?rev=217780&view=rev
Log:
Spell out the template args for compilers having issues with the injected class
name.
Modified:
llvm/trunk/include/llvm/Bitcode/BitCodes.h
Modified: llvm/trunk/include/llvm/Bitcode/BitCodes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Bitcode/BitCodes.h?rev=217780&r1=217779&r2=217780&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Bitcode/BitCodes.h (original)
+++ llvm/trunk/include/llvm/Bitcode/BitCodes.h Mon Sep 15 11:13:33 2014
@@ -165,7 +165,8 @@ template <> struct isPodLike<BitCodeAbbr
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 {
More information about the llvm-commits
mailing list