[llvm-commits] [llvm] r101247 - /llvm/trunk/include/llvm/Support/CFG.h
Dan Gohman
gohman at apple.com
Wed Apr 14 08:59:02 PDT 2010
Author: djg
Date: Wed Apr 14 10:59:02 2010
New Revision: 101247
URL: http://llvm.org/viewvc/llvm-project?rev=101247&view=rev
Log:
Fix whitespace, comments.
Modified:
llvm/trunk/include/llvm/Support/CFG.h
Modified: llvm/trunk/include/llvm/Support/CFG.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/CFG.h?rev=101247&r1=101246&r2=101247&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/CFG.h (original)
+++ llvm/trunk/include/llvm/Support/CFG.h Wed Apr 14 10:59:02 2010
@@ -25,7 +25,7 @@
// 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 @@
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 @@
/// Get the source BB of this iterator.
inline BB_ *getSource() {
- return Term->getParent();
+ return Term->getParent();
}
};
More information about the llvm-commits
mailing list