forked from OSchip/llvm-project
IR: Use typedefs for getSublistAccess(), NFC
llvm-svn: 249439
This commit is contained in:
parent
8d2b2cfa29
commit
e4088b5d31
|
@ -253,7 +253,7 @@ public:
|
||||||
InstListType &getInstList() { return InstList; }
|
InstListType &getInstList() { return InstList; }
|
||||||
|
|
||||||
/// \brief Returns a pointer to a member of the instruction list.
|
/// \brief Returns a pointer to a member of the instruction list.
|
||||||
static iplist<Instruction> BasicBlock::*getSublistAccess(Instruction*) {
|
static InstListType BasicBlock::*getSublistAccess(Instruction*) {
|
||||||
return &BasicBlock::InstList;
|
return &BasicBlock::InstList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -436,13 +436,13 @@ public:
|
||||||
CheckLazyArguments();
|
CheckLazyArguments();
|
||||||
return ArgumentList;
|
return ArgumentList;
|
||||||
}
|
}
|
||||||
static iplist<Argument> Function::*getSublistAccess(Argument*) {
|
static ArgumentListType Function::*getSublistAccess(Argument*) {
|
||||||
return &Function::ArgumentList;
|
return &Function::ArgumentList;
|
||||||
}
|
}
|
||||||
|
|
||||||
const BasicBlockListType &getBasicBlockList() const { return BasicBlocks; }
|
const BasicBlockListType &getBasicBlockList() const { return BasicBlocks; }
|
||||||
BasicBlockListType &getBasicBlockList() { return BasicBlocks; }
|
BasicBlockListType &getBasicBlockList() { return BasicBlocks; }
|
||||||
static iplist<BasicBlock> Function::*getSublistAccess(BasicBlock*) {
|
static BasicBlockListType Function::*getSublistAccess(BasicBlock*) {
|
||||||
return &Function::BasicBlocks;
|
return &Function::BasicBlocks;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue