mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-19 00:14:20 +00:00
Delete unnecessary parens around return values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61950 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
069f12a590
commit
5d5ee80ea8
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user