[llvm-commits] CVS: llvm/include/llvm/BasicBlock.h

Misha Brukman brukman at cs.uiuc.edu
Mon May 17 17:25:02 PDT 2004


Changes in directory llvm/include/llvm:

BasicBlock.h updated: 1.38 -> 1.39

---
Log message:

* Minor aesthetic alignment of iterator declarations
* Removed redundant function comments


---
Diffs of the changes:  (+2 -5)

Index: llvm/include/llvm/BasicBlock.h
diff -u llvm/include/llvm/BasicBlock.h:1.38 llvm/include/llvm/BasicBlock.h:1.39
--- llvm/include/llvm/BasicBlock.h:1.38	Tue Feb 10 19:17:58 2004
+++ llvm/include/llvm/BasicBlock.h	Mon May 17 17:25:12 2004
@@ -61,17 +61,14 @@
 
 public:
   /// Instruction iterators...
-  typedef InstListType::iterator iterator;
-  typedef InstListType::const_iterator const_iterator;
+  typedef InstListType::iterator                              iterator;
+  typedef InstListType::const_iterator                  const_iterator;
   typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
   typedef std::reverse_iterator<iterator>             reverse_iterator;
 
   /// BasicBlock ctor - If the function parameter is specified, the basic block
   /// is automatically inserted at either the end of the function (if
   /// InsertBefore is null), or before the specified basic block.
-  ///
-  /// BasicBlock ctor - If the InsertBefore parameter is specified, the basic
-  /// block is automatically inserted right before the specified block.
   ///
   BasicBlock(const std::string &Name = "", Function *Parent = 0,
              BasicBlock *InsertBefore = 0);





More information about the llvm-commits mailing list