CodeGen: s/protected:/private:/ in MachineBasicBlock, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 6 Oct 2015 21:48:31 +0000 (21:48 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 6 Oct 2015 21:48:31 +0000 (21:48 +0000)
Nothing inherits from `MachineBasicBlock`, so this should have no real
functionality change.  Just makes the code easier to understand.

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

include/llvm/CodeGen/MachineBasicBlock.h

index 33230f92828187ecf6fbd3ef344f2ec982ad6d72..8ebc8bd02cb4f92a1ecd32b50e3b88430a7916a4 100644 (file)
@@ -78,7 +78,7 @@ public:
         : PhysReg(PhysReg), LaneMask(LaneMask) {}
   };
 
         : PhysReg(PhysReg), LaneMask(LaneMask) {}
   };
 
-protected:
+private:
   typedef ilist<MachineInstr> Instructions;
   Instructions Insts;
   const BasicBlock *BB;
   typedef ilist<MachineInstr> Instructions;
   Instructions Insts;
   const BasicBlock *BB;