From: Duncan P. N. Exon Smith Date: Tue, 6 Oct 2015 21:48:31 +0000 (+0000) Subject: CodeGen: s/protected:/private:/ in MachineBasicBlock, NFC X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=ac3b52bb0da8ac7f43128fd0f3eb82bfb7c51114 CodeGen: s/protected:/private:/ in MachineBasicBlock, NFC 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 --- diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h index 33230f92828..8ebc8bd02cb 100644 --- a/include/llvm/CodeGen/MachineBasicBlock.h +++ b/include/llvm/CodeGen/MachineBasicBlock.h @@ -78,7 +78,7 @@ public: : PhysReg(PhysReg), LaneMask(LaneMask) {} }; -protected: +private: typedef ilist Instructions; Instructions Insts; const BasicBlock *BB;