diff options
author | Dan Gohman <gohman@apple.com> | 2010-04-14 15:59:02 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-04-14 15:59:02 +0000 |
commit | 5861142dad77d0a6dc048e817c4c6c79f2d9383b (patch) | |
tree | 2925c334e27e68ce32648849429578a25fb589c9 /include/llvm/Support/CFG.h | |
parent | 4788ec49a907a00803bee012acb6b12b019eb44a (diff) | |
download | llvm-5861142dad77d0a6dc048e817c4c6c79f2d9383b.tar.gz llvm-5861142dad77d0a6dc048e817c4c6c79f2d9383b.tar.bz2 llvm-5861142dad77d0a6dc048e817c4c6c79f2d9383b.tar.xz |
Fix whitespace, comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101247 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/CFG.h')
-rw-r--r-- | include/llvm/Support/CFG.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Support/CFG.h b/include/llvm/Support/CFG.h index b72c5bb0ab..f07c719f19 100644 --- a/include/llvm/Support/CFG.h +++ b/include/llvm/Support/CFG.h @@ -25,7 +25,7 @@ namespace llvm { // BasicBlock pred_iterator definition //===----------------------------------------------------------------------===// -template <class Ptr, class USE_iterator> // Predecessor Iterator +template <class Ptr, class USE_iterator> // Predecessor Iterator class PredIterator : public std::iterator<std::forward_iterator_tag, Ptr, ptrdiff_t> { typedef std::iterator<std::forward_iterator_tag, Ptr, ptrdiff_t> super; @@ -33,7 +33,7 @@ class PredIterator : public std::iterator<std::forward_iterator_tag, USE_iterator It; inline void advancePastNonTerminators() { - // Loop to ignore non terminator uses (for example PHI nodes)... + // Loop to ignore non terminator uses (for example PHI nodes). while (!It.atEnd() && !isa<TerminatorInst>(*It)) ++It; } @@ -194,7 +194,7 @@ public: /// Get the source BB of this iterator. inline BB_ *getSource() { - return Term->getParent(); + return Term->getParent(); } }; |