llvm.org GIT mirror llvm / 5861142
Fix whitespace, comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101247 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 10 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
2424 // BasicBlock pred_iterator definition
2525 //===----------------------------------------------------------------------===//
2626
27 template class USE_iterator> // Predecessor Iterator
27 template class USE_iterator> // Predecessor Iterator
2828 class PredIterator : public std::iterator
2929 Ptr, ptrdiff_t> {
3030 typedef std::iterator super;
3232 USE_iterator It;
3333
3434 inline void advancePastNonTerminators() {
35 // Loop to ignore non terminator uses (for example PHI nodes)...
35 // Loop to ignore non terminator uses (for example PHI nodes).
3636 while (!It.atEnd() && !isa(*It))
3737 ++It;
3838 }
193193
194194 /// Get the source BB of this iterator.
195195 inline BB_ *getSource() {
196 return Term->getParent();
196 return Term->getParent();
197197 }
198198 };
199199