llvm.org GIT mirror llvm / dd076fe
IR: Use typedefs for getSublistAccess(), NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249439 91177308-0d34-0410-b5e6-96231b3b80d8 Duncan P. N. Exon Smith 4 years ago
2 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
252252 InstListType &getInstList() { return InstList; }
253253
254254 /// \brief Returns a pointer to a member of the instruction list.
255 static iplist BasicBlock::*getSublistAccess(Instruction*) {
255 static InstListType BasicBlock::*getSublistAccess(Instruction*) {
256256 return &BasicBlock::InstList;
257257 }
258258
435435 CheckLazyArguments();
436436 return ArgumentList;
437437 }
438 static iplist Function::*getSublistAccess(Argument*) {
438 static ArgumentListType Function::*getSublistAccess(Argument*) {
439439 return &Function::ArgumentList;
440440 }
441441
442442 const BasicBlockListType &getBasicBlockList() const { return BasicBlocks; }
443443 BasicBlockListType &getBasicBlockList() { return BasicBlocks; }
444 static iplist Function::*getSublistAccess(BasicBlock*) {
444 static BasicBlockListType Function::*getSublistAccess(BasicBlock*) {
445445 return &Function::BasicBlocks;
446446 }
447447