forked from OSchip/llvm-project
Delete unnecessary parens around return values.
llvm-svn: 61950
This commit is contained in:
parent
138436f158
commit
f87dc9264a
|
@ -91,7 +91,7 @@ namespace llvm {
|
||||||
/// int getNumberOfInterferences(const LiveInterval &a) const {
|
/// int getNumberOfInterferences(const LiveInterval &a) const {
|
||||||
/// IntervalSet intervals;
|
/// IntervalSet intervals;
|
||||||
/// getInterferences(intervals, a);
|
/// getInterferences(intervals, a);
|
||||||
/// return(intervals.size());
|
/// return intervals.size();
|
||||||
/// };
|
/// };
|
||||||
/// };
|
/// };
|
||||||
///
|
///
|
||||||
|
@ -114,7 +114,7 @@ namespace llvm {
|
||||||
virtual bool interfere(const LiveInterval &a,
|
virtual bool interfere(const LiveInterval &a,
|
||||||
const LiveInterval &b) const {
|
const LiveInterval &b) const {
|
||||||
// A naive test
|
// A naive test
|
||||||
return(a.overlaps(b));
|
return a.overlaps(b);
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Return the set of intervals that interfere with this one.
|
/// Return the set of intervals that interfere with this one.
|
||||||
|
|
|
@ -463,7 +463,7 @@ static bool MergeCompare(const std::pair<unsigned,MachineBasicBlock*> &p,
|
||||||
#ifndef _GLIBCXX_DEBUG
|
#ifndef _GLIBCXX_DEBUG
|
||||||
assert(0 && "Predecessor appears twice");
|
assert(0 && "Predecessor appears twice");
|
||||||
#endif
|
#endif
|
||||||
return(false);
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -221,7 +221,7 @@ MachineBasicBlock::succ_iterator
|
||||||
MachineBasicBlock::removeSuccessor(succ_iterator I) {
|
MachineBasicBlock::removeSuccessor(succ_iterator I) {
|
||||||
assert(I != Successors.end() && "Not a current successor!");
|
assert(I != Successors.end() && "Not a current successor!");
|
||||||
(*I)->removePredecessor(this);
|
(*I)->removePredecessor(this);
|
||||||
return(Successors.erase(I));
|
return Successors.erase(I);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MachineBasicBlock::addPredecessor(MachineBasicBlock *pred) {
|
void MachineBasicBlock::addPredecessor(MachineBasicBlock *pred) {
|
||||||
|
|
Loading…
Reference in New Issue