[llvm-commits] CVS: llvm/include/Support/BitSetVector.h Casting.h CommandLine.h DOTGraphTraits.h DataTypes.h DepthFirstIterator.h EquivalenceClasses.h GraphTraits.h GraphWriter.h HashExtras.h MathExtras.h PostOrderIterator.h STLExtras.h SetOperations.h Signals.h StringExtras.h SystemUtils.h Tree.h TypeInfo.h hash_map ilist

Chris Lattner lattner at cs.uiuc.edu
Tue Sep 30 13:39:01 PDT 2003


Changes in directory llvm/include/Support:

BitSetVector.h updated: 1.8 -> 1.9
Casting.h updated: 1.8 -> 1.9
CommandLine.h updated: 1.25 -> 1.26
DOTGraphTraits.h updated: 1.5 -> 1.6
DataTypes.h updated: 1.13 -> 1.14
DepthFirstIterator.h updated: 1.6 -> 1.7
EquivalenceClasses.h updated: 1.3 -> 1.4
GraphTraits.h updated: 1.3 -> 1.4
GraphWriter.h updated: 1.13 -> 1.14
HashExtras.h updated: 1.7 -> 1.8
MathExtras.h updated: 1.6 -> 1.7
PostOrderIterator.h updated: 1.11 -> 1.12
STLExtras.h updated: 1.6 -> 1.7
SetOperations.h updated: 1.2 -> 1.3
Signals.h updated: 1.4 -> 1.5
StringExtras.h updated: 1.4 -> 1.5
SystemUtils.h updated: 1.6 -> 1.7
Tree.h updated: 1.6 -> 1.7
TypeInfo.h updated: 1.2 -> 1.3
hash_map updated: 1.11 -> 1.12
ilist updated: 1.10 -> 1.11

---
Log message:

Standardize header file comments


---
Diffs of the changes:

Index: llvm/include/Support/BitSetVector.h
diff -u llvm/include/Support/BitSetVector.h:1.8 llvm/include/Support/BitSetVector.h:1.9
--- llvm/include/Support/BitSetVector.h:1.8	Mon Jun 30 16:58:23 2003
+++ llvm/include/Support/BitSetVector.h	Tue Sep 30 13:37:23 2003
@@ -1,13 +1,11 @@
-//===-- BitVectorSet.h - A bit-vector representation of sets -----*- C++ -*--=//
+//===-- BitVectorSet.h - A bit-vector representation of sets ----*- C++ -*-===//
 //
-// class BitVectorSet --
-// 
-// An implementation of the bit-vector representation of sets.
-// Unlike vector<bool>, this allows much more efficient parallel set
-// operations on bits, by using the bitset template .  The bitset template
-// unfortunately can only represent sets with a size chosen at compile-time.
-// We therefore use a vector of bitsets.  The maxmimum size of our sets
-// (i.e., the size of the universal set) can be chosen at creation time.
+// This is an implementation of the bit-vector representation of sets.  Unlike
+// vector<bool>, this allows much more efficient parallel set operations on
+// bits, by using the bitset template.  The bitset template unfortunately can
+// only represent sets with a size chosen at compile-time.  We therefore use a
+// vector of bitsets.  The maxmimum size of our sets (i.e., the size of the
+// universal set) can be chosen at creation time.
 //
 // External functions:
 // 


Index: llvm/include/Support/Casting.h
diff -u llvm/include/Support/Casting.h:1.8 llvm/include/Support/Casting.h:1.9
--- llvm/include/Support/Casting.h:1.8	Wed Sep 10 00:30:09 2003
+++ llvm/include/Support/Casting.h	Tue Sep 30 13:37:23 2003
@@ -1,4 +1,4 @@
-//===-- Support/Casting.h - Allow flexible, checked, casts -------*- C++ -*--=//
+//===-- Support/Casting.h - Allow flexible, checked, casts ------*- C++ -*-===//
 //
 // This file defines the isa<X>(), cast<X>(), dyn_cast<X>(), cast_or_null<X>(),
 // and dyn_cast_or_null<X>() templates.


Index: llvm/include/Support/CommandLine.h
diff -u llvm/include/Support/CommandLine.h:1.25 llvm/include/Support/CommandLine.h:1.26
--- llvm/include/Support/CommandLine.h:1.25	Fri Aug 22 09:26:59 2003
+++ llvm/include/Support/CommandLine.h	Tue Sep 30 13:37:23 2003
@@ -1,4 +1,4 @@
-//===- Support/CommandLine.h - Flexible Command line parser ------*- C++ -*--=//
+//===- Support/CommandLine.h - Flexible Command line parser -----*- C++ -*-===//
 //
 // This class implements a command line argument processor that is useful when
 // creating a tool.  It provides a simple, minimalistic interface that is easily


Index: llvm/include/Support/DOTGraphTraits.h
diff -u llvm/include/Support/DOTGraphTraits.h:1.5 llvm/include/Support/DOTGraphTraits.h:1.6
--- llvm/include/Support/DOTGraphTraits.h:1.5	Mon Aug 18 09:26:23 2003
+++ llvm/include/Support/DOTGraphTraits.h	Tue Sep 30 13:37:23 2003
@@ -1,4 +1,4 @@
-//===-- Support/DotGraphTraits.h - Customize .dot output -------*- C++ -*--===//
+//===-- Support/DotGraphTraits.h - Customize .dot output --------*- C++ -*-===//
 //
 // This file defines a template class that can be used to customize dot output
 // graphs generated by the GraphWriter.h file.  The default implementation of


Index: llvm/include/Support/DataTypes.h
diff -u llvm/include/Support/DataTypes.h:1.13 llvm/include/Support/DataTypes.h:1.14
--- llvm/include/Support/DataTypes.h:1.13	Mon Aug 11 15:04:57 2003
+++ llvm/include/Support/DataTypes.h	Tue Sep 30 13:37:23 2003
@@ -1,4 +1,4 @@
-//===-- include/Support/DataTypes.h - Define fixed size types ----*- C++ -*--=//
+//===-- include/Support/DataTypes.h - Define fixed size types ---*- C++ -*-===//
 //
 // This file contains definitions to figure out the size of _HOST_ data types.
 // This file is important because different host OS's define different macros,


Index: llvm/include/Support/DepthFirstIterator.h
diff -u llvm/include/Support/DepthFirstIterator.h:1.6 llvm/include/Support/DepthFirstIterator.h:1.7
--- llvm/include/Support/DepthFirstIterator.h:1.6	Fri Jul 25 12:49:28 2003
+++ llvm/include/Support/DepthFirstIterator.h	Tue Sep 30 13:37:23 2003
@@ -1,4 +1,4 @@
-//===- Support/DepthFirstIterator.h - Depth First iterator -------*- C++ -*--=//
+//===- Support/DepthFirstIterator.h - Depth First iterator ------*- C++ -*-===//
 //
 // This file builds on the Support/GraphTraits.h file to build generic depth
 // first graph iterator.


Index: llvm/include/Support/EquivalenceClasses.h
diff -u llvm/include/Support/EquivalenceClasses.h:1.3 llvm/include/Support/EquivalenceClasses.h:1.4
--- llvm/include/Support/EquivalenceClasses.h:1.3	Mon Jun 16 19:35:55 2003
+++ llvm/include/Support/EquivalenceClasses.h	Tue Sep 30 13:37:23 2003
@@ -1,12 +1,11 @@
-//===-- Support/EquivalenceClasses.h -------------------------*- C++ -*--=//
+//===-- Support/EquivalenceClasses.h ----------------------------*- C++ -*-===//
 // 
-// Generic implementation of equivalence classes and implementation of 
-// union-find algorithms
-// A not-so-fancy implementation: 2 level tree i.e root and one more level
-// Overhead of a union = size of the equivalence class being attached
-// Overhead of a find = 1.
+// Generic implementation of equivalence classes and implementation of
+// union-find algorithms A not-so-fancy implementation: 2 level tree i.e root
+// and one more level Overhead of a union = size of the equivalence class being
+// attached Overhead of a find = 1.
 // 
-//===------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
 
 #ifndef SUPPORT_EQUIVALENCECLASSES_H
 #define SUPPORT_EQUIVALENCECLASSES_H
@@ -68,7 +67,6 @@
       return EqClass;
     
     ElemTy classLeader = Elem2ECLeaderMap[Element1];
-
     for (typename std::map<ElemTy, ElemTy>::iterator ElemI = 
 	   Elem2ECLeaderMap.begin(), ElemE = Elem2ECLeaderMap.end(); 
 	 ElemI != ElemE; ++ElemI) {
@@ -77,13 +75,11 @@
     }
     
     return EqClass;
-    
   }
 
   std::map<ElemTy, ElemTy>& getLeaderMap() {
     return Elem2ECLeaderMap ;
   }
-  
 };
 
 #endif


Index: llvm/include/Support/GraphTraits.h
diff -u llvm/include/Support/GraphTraits.h:1.3 llvm/include/Support/GraphTraits.h:1.4
--- llvm/include/Support/GraphTraits.h:1.3	Mon Jun 16 19:35:55 2003
+++ llvm/include/Support/GraphTraits.h	Tue Sep 30 13:37:23 2003
@@ -1,4 +1,4 @@
-//===-- Support/GraphTraits.h - Graph traits template ------------*- C++ -*--=//
+//===-- Support/GraphTraits.h - Graph traits template -----------*- C++ -*-===//
 //
 // This file defines the little GraphTraits<X> template class that should be 
 // specialized by classes that want to be iteratable by generic graph iterators.


Index: llvm/include/Support/GraphWriter.h
diff -u llvm/include/Support/GraphWriter.h:1.13 llvm/include/Support/GraphWriter.h:1.14
--- llvm/include/Support/GraphWriter.h:1.13	Wed Feb  5 13:40:59 2003
+++ llvm/include/Support/GraphWriter.h	Tue Sep 30 13:37:23 2003
@@ -1,4 +1,4 @@
-//===-- Support/GraphWriter.h - Write a graph to a .dot file ---*- C++ -*--===//
+//===-- Support/GraphWriter.h - Write a graph to a .dot file ----*- C++ -*-===//
 //
 // This file defines a simple interface that can be used to print out generic
 // LLVM graphs to ".dot" files.  "dot" is a tool that is part of the AT&T


Index: llvm/include/Support/HashExtras.h
diff -u llvm/include/Support/HashExtras.h:1.7 llvm/include/Support/HashExtras.h:1.8
--- llvm/include/Support/HashExtras.h:1.7	Fri Aug 15 12:52:02 2003
+++ llvm/include/Support/HashExtras.h	Tue Sep 30 13:37:23 2003
@@ -1,4 +1,4 @@
-//===-- HashExtras.h - Useful functions for STL hash containers --*- C++ -*--=//
+//===-- HashExtras.h - Useful functions for STL hash containers -*- C++ -*-===//
 //
 // This file contains some templates that are useful if you are working with the
 // STL Hashed containers.


Index: llvm/include/Support/MathExtras.h
diff -u llvm/include/Support/MathExtras.h:1.6 llvm/include/Support/MathExtras.h:1.7
--- llvm/include/Support/MathExtras.h:1.6	Mon Jun 16 19:35:55 2003
+++ llvm/include/Support/MathExtras.h	Tue Sep 30 13:37:23 2003
@@ -1,4 +1,4 @@
-//===-- Support/MathExtras.h - Useful math functions -------------*- C++ -*--=//
+//===-- Support/MathExtras.h - Useful math functions ------------*- C++ -*-===//
 //
 // This file contains some functions that are useful for math stuff.
 //


Index: llvm/include/Support/PostOrderIterator.h
diff -u llvm/include/Support/PostOrderIterator.h:1.11 llvm/include/Support/PostOrderIterator.h:1.12
--- llvm/include/Support/PostOrderIterator.h:1.11	Mon Aug 18 09:26:23 2003
+++ llvm/include/Support/PostOrderIterator.h	Tue Sep 30 13:37:23 2003
@@ -1,4 +1,4 @@
-//===-- Support/PostOrderIterator.h - Generic PostOrder iterator -*- C++ -*--=//
+//===- Support/PostOrderIterator.h - Generic PostOrder iterator -*- C++ -*-===//
 //
 // This file builds on the Support/GraphTraits.h file to build a generic graph
 // post order iterator.  This should work over any graph type that has a


Index: llvm/include/Support/STLExtras.h
diff -u llvm/include/Support/STLExtras.h:1.6 llvm/include/Support/STLExtras.h:1.7
--- llvm/include/Support/STLExtras.h:1.6	Mon Jun 16 19:35:55 2003
+++ llvm/include/Support/STLExtras.h	Tue Sep 30 13:37:23 2003
@@ -1,4 +1,4 @@
-//===-- STLExtras.h - Useful functions when working with the STL -*- C++ -*--=//
+//===- STLExtras.h - Useful functions when working with the STL -*- C++ -*-===//
 //
 // This file contains some templates that are useful if you are working with the
 // STL at all.


Index: llvm/include/Support/SetOperations.h
diff -u llvm/include/Support/SetOperations.h:1.2 llvm/include/Support/SetOperations.h:1.3
--- llvm/include/Support/SetOperations.h:1.2	Mon Jun 16 19:35:55 2003
+++ llvm/include/Support/SetOperations.h	Tue Sep 30 13:37:23 2003
@@ -1,4 +1,4 @@
-//===-- Support/SetOperations.h - Generic Set Operations ---------*- C++ -*--=//
+//===-- Support/SetOperations.h - Generic Set Operations --------*- C++ -*-===//
 //
 // This file defines generic set operations that may be used on set's of
 // different types, and different element types.


Index: llvm/include/Support/Signals.h
diff -u llvm/include/Support/Signals.h:1.4 llvm/include/Support/Signals.h:1.5
--- llvm/include/Support/Signals.h:1.4	Fri Aug  1 14:16:18 2003
+++ llvm/include/Support/Signals.h	Tue Sep 30 13:37:23 2003
@@ -1,4 +1,4 @@
-//===- Support/Signals.h - Signal Handling support -------------*- C++ -*-===//
+//===- Support/Signals.h - Signal Handling support --------------*- C++ -*-===//
 //
 // This file defines some helpful functions for dealing with the possibility of
 // unix signals occuring while your program is running.


Index: llvm/include/Support/StringExtras.h
diff -u llvm/include/Support/StringExtras.h:1.4 llvm/include/Support/StringExtras.h:1.5
--- llvm/include/Support/StringExtras.h:1.4	Mon Jun 16 19:35:55 2003
+++ llvm/include/Support/StringExtras.h	Tue Sep 30 13:37:23 2003
@@ -1,4 +1,4 @@
-//===-- Support/StringExtras.h - Useful string functions ---------*- C++ -*--=//
+//===-- Support/StringExtras.h - Useful string functions --------*- C++ -*-===//
 //
 // This file contains some functions that are useful when dealing with strings.
 //


Index: llvm/include/Support/SystemUtils.h
diff -u llvm/include/Support/SystemUtils.h:1.6 llvm/include/Support/SystemUtils.h:1.7
--- llvm/include/Support/SystemUtils.h:1.6	Mon Sep 29 17:37:57 2003
+++ llvm/include/Support/SystemUtils.h	Tue Sep 30 13:37:23 2003
@@ -1,4 +1,4 @@
-//===- SystemUtils.h - Utilities to do low-level system stuff --*- C++ -*--===//
+//===- SystemUtils.h - Utilities to do low-level system stuff ---*- C++ -*-===//
 //
 // This file contains functions used to do a variety of low-level, often
 // system-specific, tasks.


Index: llvm/include/Support/Tree.h
diff -u llvm/include/Support/Tree.h:1.6 llvm/include/Support/Tree.h:1.7
--- llvm/include/Support/Tree.h:1.6	Mon Jun 30 16:58:23 2003
+++ llvm/include/Support/Tree.h	Tue Sep 30 13:37:23 2003
@@ -1,4 +1,4 @@
-//===- Support/Tree.h - Generic n-way tree structure -------------*- C++ -*--=//
+//===- Support/Tree.h - Generic n-way tree structure ------------*- C++ -*-===//
 //
 // This class defines a generic N way tree node structure.  The tree structure
 // is immutable after creation, but the payload contained within it is not.


Index: llvm/include/Support/TypeInfo.h
diff -u llvm/include/Support/TypeInfo.h:1.2 llvm/include/Support/TypeInfo.h:1.3
--- llvm/include/Support/TypeInfo.h:1.2	Mon Jun 16 19:35:55 2003
+++ llvm/include/Support/TypeInfo.h	Tue Sep 30 13:37:23 2003
@@ -1,4 +1,4 @@
-//===- Support/TypeInfo.h - Support class for type_info objects --*- C++ -*--=//
+//===- Support/TypeInfo.h - Support class for type_info objects -*- C++ -*-===//
 //
 // This class makes std::type_info objects behave like first class objects that
 // can be put in maps and hashtables.  This code is based off of code in the


Index: llvm/include/Support/hash_map
diff -u llvm/include/Support/hash_map:1.11 llvm/include/Support/hash_map:1.12
--- llvm/include/Support/hash_map:1.11	Fri Aug 15 15:01:10 2003
+++ llvm/include/Support/hash_map	Tue Sep 30 13:37:23 2003
@@ -1,5 +1,4 @@
 //===-- Support/hash_map - "Portable" wrapper around hash_map ---*- C++ -*-===//
-// vim:ft=cpp
 // 
 // This file provides a wrapper around the mysterious <hash_map> header file
 // that seems to move around between GCC releases into and out of namespaces at


Index: llvm/include/Support/ilist
diff -u llvm/include/Support/ilist:1.10 llvm/include/Support/ilist:1.11
--- llvm/include/Support/ilist:1.10	Fri Aug 29 09:22:29 2003
+++ llvm/include/Support/ilist	Tue Sep 30 13:37:23 2003
@@ -1,4 +1,4 @@
-//===-- <Support/ilist> - Intrusive Linked List Template ---------*- C++ -*--=//
+//===-- Support/ilist - Intrusive Linked List Template ----------*- C++ -*-===//
 //
 // This file defines classes to implement an intrusive doubly linked list class
 // (ie each node of the list must contain a next and previous field for the





More information about the llvm-commits mailing list