diff options
author | Torok Edwin <edwintorok@gmail.com> | 2008-12-11 11:44:49 +0000 |
---|---|---|
committer | Torok Edwin <edwintorok@gmail.com> | 2008-12-11 11:44:49 +0000 |
commit | 9053a739e50cb6f6b68268cc7c6b95146e66d396 (patch) | |
tree | 6b74d28837c1424d2f16132d63d8b03b46e9c98f /lib/VMCore/BasicBlock.cpp | |
parent | de1e5216481bc4ebfbc710591287ae5f8fc183ba (diff) |
fix grammar, thanks Duncan!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60875 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/BasicBlock.cpp')
-rw-r--r-- | lib/VMCore/BasicBlock.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/VMCore/BasicBlock.cpp b/lib/VMCore/BasicBlock.cpp index ab2cbebb90..a76f659233 100644 --- a/lib/VMCore/BasicBlock.cpp +++ b/lib/VMCore/BasicBlock.cpp @@ -172,8 +172,8 @@ BasicBlock *BasicBlock::getSinglePredecessor() { /// getUniquePredecessor - If this basic block has a unique predecessor block, /// return the block, otherwise return a null pointer. /// Note that unique predecessor doesn't mean single edge, there can be -/// multiple edges from the unique predecessor to this block (for example in -/// case of a switch statement with multiple cases having same destination). +/// multiple edges from the unique predecessor to this block (for example +/// a switch statement with multiple cases having the same destination). BasicBlock *BasicBlock::getUniquePredecessor() { pred_iterator PI = pred_begin(this), E = pred_end(this); if (PI == E) return 0; // No preds. @@ -182,8 +182,8 @@ BasicBlock *BasicBlock::getUniquePredecessor() { for (;PI != E; ++PI) { if (*PI != PredBB) return 0; - // same predecessor appears multiple times in predecessor list, - // this is ok + // The same predecessor appears multiple times in the predecessor list. + // This is OK. } return PredBB; } |