about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/compilers/llvm/3.5/fix-15974.patch
blob: 446004cd9988a1460d625b0bae6531a641f7fd8f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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) {}