nixpkgs/pkgs/development/compilers/llvm/3.5/fix-15974.patch

16 lines
495 B
Diff
Raw Normal View History

diff --git a/include/llvm/ADT/IntrusiveRefCntPtr.h b/include/llvm/ADT/IntrusiveRefCntPtr.h
index f9df378..9d860ec 100644
--- a/include/llvm/ADT/IntrusiveRefCntPtr.h
+++ b/include/llvm/ADT/IntrusiveRefCntPtr.h
@@ -134,9 +134,9 @@ public:
//===----------------------------------------------------------------------===//
template <typename T>
class IntrusiveRefCntPtr {
+ public:
T* Obj;
- public:
typedef T element_type;
explicit IntrusiveRefCntPtr() : Obj(nullptr) {}