diff options
| author | Dan Gohman <gohman@apple.com> | 2009-01-08 22:19:34 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-01-08 22:19:34 +0000 |
| commit | f87dc9264adc6f4afcdf2a88f02e35bb9af8cf0a (patch) | |
| tree | c52ce82d9d190359eb63b44bc0c414b03ca6670f /llvm/lib/CodeGen | |
| parent | 138436f158fde9286994e9788426ceed2cba77f6 (diff) | |
| download | bcm5719-llvm-f87dc9264adc6f4afcdf2a88f02e35bb9af8cf0a.tar.gz bcm5719-llvm-f87dc9264adc6f4afcdf2a88f02e35bb9af8cf0a.zip | |
Delete unnecessary parens around return values.
llvm-svn: 61950
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/BranchFolding.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/MachineBasicBlock.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/BranchFolding.cpp b/llvm/lib/CodeGen/BranchFolding.cpp index 4bf94349565..85df7a9d36c 100644 --- a/llvm/lib/CodeGen/BranchFolding.cpp +++ b/llvm/lib/CodeGen/BranchFolding.cpp @@ -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; } } diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp index db55a88eddc..1d68d7cd2b9 100644 --- a/llvm/lib/CodeGen/MachineBasicBlock.cpp +++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp @@ -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) { |

