Fix whitespace, comments.
authorDan Gohman <gohman@apple.com>
Wed, 14 Apr 2010 15:59:02 +0000 (15:59 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 14 Apr 2010 15:59:02 +0000 (15:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101247 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/CFG.h

index b72c5bb0ab656df1001c8c6187e070d6fb292a35..f07c719f194dab91161b448710ad2ce5e616c42e 100644 (file)
@@ -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();
   }
 };