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; }
|
||||
|
||||
/// \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;
|
||||
}
|
||||
|
||||
|
|
|
@ -436,13 +436,13 @@ public:
|
|||
CheckLazyArguments();
|
||||
return ArgumentList;
|
||||
}
|
||||
static iplist<Argument> Function::*getSublistAccess(Argument*) {
|
||||
static ArgumentListType Function::*getSublistAccess(Argument*) {
|
||||
return &Function::ArgumentList;
|
||||
}
|
||||
|
||||
const BasicBlockListType &getBasicBlockList() const { return BasicBlocks; }
|
||||
BasicBlockListType &getBasicBlockList() { return BasicBlocks; }
|
||||
static iplist<BasicBlock> Function::*getSublistAccess(BasicBlock*) {
|
||||
static BasicBlockListType Function::*getSublistAccess(BasicBlock*) {
|
||||
return &Function::BasicBlocks;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue