Tidy up. Trailing whitespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149408 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach 2012-01-31 19:47:32 +00:00
parent ab78e20ce0
commit 57cae881e2

View File

@ -166,7 +166,7 @@ public:
bool operator!=(const bundle_iterator &x) const { bool operator!=(const bundle_iterator &x) const {
return !operator==(x); return !operator==(x);
} }
// Increment and decrement operators... // Increment and decrement operators...
bundle_iterator &operator--() { // predecrement - Back up bundle_iterator &operator--() { // predecrement - Back up
do { do {
@ -197,7 +197,7 @@ public:
IterTy getInstrIterator() const { IterTy getInstrIterator() const {
return MII; return MII;
} }
}; };
typedef Instructions::iterator instr_iterator; typedef Instructions::iterator instr_iterator;
@ -360,7 +360,7 @@ public:
const MachineBasicBlock *getLandingPadSuccessor() const; const MachineBasicBlock *getLandingPadSuccessor() const;
// Code Layout methods. // Code Layout methods.
/// moveBefore/moveAfter - move 'this' block before or after the specified /// moveBefore/moveAfter - move 'this' block before or after the specified
/// block. This only moves the block, it does not modify the CFG or adjust /// block. This only moves the block, it does not modify the CFG or adjust
/// potential fall-throughs at the end of the block. /// potential fall-throughs at the end of the block.
@ -407,7 +407,7 @@ public:
/// in transferSuccessors, and update PHI operands in the successor blocks /// in transferSuccessors, and update PHI operands in the successor blocks
/// which refer to fromMBB to refer to this. /// which refer to fromMBB to refer to this.
void transferSuccessorsAndUpdatePHIs(MachineBasicBlock *fromMBB); void transferSuccessorsAndUpdatePHIs(MachineBasicBlock *fromMBB);
/// isSuccessor - Return true if the specified MBB is a successor of this /// isSuccessor - Return true if the specified MBB is a successor of this
/// block. /// block.
bool isSuccessor(const MachineBasicBlock *MBB) const; bool isSuccessor(const MachineBasicBlock *MBB) const;
@ -425,7 +425,7 @@ public:
/// branch to do so (e.g., a table jump). True is a conservative answer. /// branch to do so (e.g., a table jump). True is a conservative answer.
bool canFallThrough(); bool canFallThrough();
/// Returns a pointer to the first instructon in this block that is not a /// Returns a pointer to the first instructon in this block that is not a
/// PHINode instruction. When adding instruction to the beginning of the /// PHINode instruction. When adding instruction to the beginning of the
/// basic block, they should be added before the returned value, not before /// basic block, they should be added before the returned value, not before
/// the first instruction, which might be PHI. /// the first instruction, which might be PHI.
@ -471,8 +471,8 @@ public:
instr_iterator insert(instr_iterator I, MachineInstr *M) { instr_iterator insert(instr_iterator I, MachineInstr *M) {
return Insts.insert(I, M); return Insts.insert(I, M);
} }
instr_iterator insertAfter(instr_iterator I, MachineInstr *M) { instr_iterator insertAfter(instr_iterator I, MachineInstr *M) {
return Insts.insertAfter(I, M); return Insts.insertAfter(I, M);
} }
template<typename IT> template<typename IT>
@ -482,8 +482,8 @@ public:
iterator insert(iterator I, MachineInstr *M) { iterator insert(iterator I, MachineInstr *M) {
return Insts.insert(I.getInstrIterator(), M); return Insts.insert(I.getInstrIterator(), M);
} }
iterator insertAfter(iterator I, MachineInstr *M) { iterator insertAfter(iterator I, MachineInstr *M) {
return Insts.insertAfter(I.getInstrIterator(), M); return Insts.insertAfter(I.getInstrIterator(), M);
} }
/// erase - Remove the specified element or range from the instruction list. /// erase - Remove the specified element or range from the instruction list.
@ -544,7 +544,7 @@ public:
/// removeFromParent - This method unlinks 'this' from the containing /// removeFromParent - This method unlinks 'this' from the containing
/// function, and returns it, but does not delete it. /// function, and returns it, but does not delete it.
MachineBasicBlock *removeFromParent(); MachineBasicBlock *removeFromParent();
/// eraseFromParent - This method unlinks 'this' from the containing /// eraseFromParent - This method unlinks 'this' from the containing
/// function and deletes it. /// function and deletes it.
void eraseFromParent(); void eraseFromParent();