mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 03:24:09 +00:00
Convert 'struct' to 'class' in various places to adhere to the coding standards
and work better with VC++. Patch contributed by Morten Ofstad! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17281 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -24,7 +24,8 @@ namespace llvm {
|
||||
|
||||
// ilist_traits
|
||||
template <>
|
||||
class ilist_traits<MachineInstr> {
|
||||
struct ilist_traits<MachineInstr> {
|
||||
protected:
|
||||
// this is only set by the MachineBasicBlock owning the ilist
|
||||
friend class MachineBasicBlock;
|
||||
MachineBasicBlock* parent;
|
||||
@ -179,7 +180,7 @@ public:
|
||||
int getNumber() const { return Number; }
|
||||
|
||||
private: // Methods used to maintain doubly linked list of blocks...
|
||||
friend class ilist_traits<MachineBasicBlock>;
|
||||
friend struct ilist_traits<MachineBasicBlock>;
|
||||
|
||||
MachineBasicBlock *getPrev() const { return Prev; }
|
||||
MachineBasicBlock *getNext() const { return Next; }
|
||||
|
Reference in New Issue
Block a user