Delete unnecessary parens around return values.

llvm-svn: 61950
This commit is contained in:
Dan Gohman 2009-01-08 22:19:34 +00:00
parent 138436f158
commit f87dc9264a
3 changed files with 4 additions and 4 deletions

View File

@ -91,7 +91,7 @@ namespace llvm {
/// int getNumberOfInterferences(const LiveInterval &a) const {
/// IntervalSet intervals;
/// getInterferences(intervals, a);
/// return(intervals.size());
/// return intervals.size();
/// };
/// };
///
@ -114,7 +114,7 @@ namespace llvm {
virtual bool interfere(const LiveInterval &a,
const LiveInterval &b) const {
// A naive test
return(a.overlaps(b));
return a.overlaps(b);
};
/// Return the set of intervals that interfere with this one.

View File

@ -463,7 +463,7 @@ static bool MergeCompare(const std::pair<unsigned,MachineBasicBlock*> &p,
#ifndef _GLIBCXX_DEBUG
assert(0 && "Predecessor appears twice");
#endif
return(false);
return false;
}
}

View File

@ -221,7 +221,7 @@ MachineBasicBlock::succ_iterator
MachineBasicBlock::removeSuccessor(succ_iterator I) {
assert(I != Successors.end() && "Not a current successor!");
(*I)->removePredecessor(this);
return(Successors.erase(I));
return Successors.erase(I);
}
void MachineBasicBlock::addPredecessor(MachineBasicBlock *pred) {