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 | 5d5ee80ea8bf300d1ee8ccbd7174466d98a1e99e (patch) | |
tree | 86d0b31378fc9918a9301c6a9bfe409f900563d4 /lib | |
parent | 069f12a590440ec119e5f98136f08967779db42e (diff) |
Delete unnecessary parens around return values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61950 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/BranchFolding.cpp | 2 | ||||
-rw-r--r-- | lib/CodeGen/MachineBasicBlock.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/BranchFolding.cpp b/lib/CodeGen/BranchFolding.cpp index 4bf9434956..85df7a9d36 100644 --- a/lib/CodeGen/BranchFolding.cpp +++ b/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/lib/CodeGen/MachineBasicBlock.cpp b/lib/CodeGen/MachineBasicBlock.cpp index db55a88edd..1d68d7cd2b 100644 --- a/lib/CodeGen/MachineBasicBlock.cpp +++ b/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) { |