aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-30 18:37:50 +0000
committerChris Lattner <sabre@nondot.org>2003-09-30 18:37:50 +0000
commit48486893f46d2e12e926682a3ecb908716bc66c4 (patch)
tree1b9df5ccb8bd8eb836403dc9c1b3b42707c2d07d /include
parentf4744498042cc69627b3a0b40fe80d3967179ea4 (diff)
Standardize header file comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8782 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/Support/BitSetVector.h16
-rw-r--r--include/Support/Casting.h2
-rw-r--r--include/Support/CommandLine.h2
-rw-r--r--include/Support/DOTGraphTraits.h2
-rw-r--r--include/Support/DataTypes.h2
-rw-r--r--include/Support/DepthFirstIterator.h2
-rw-r--r--include/Support/EquivalenceClasses.h16
-rw-r--r--include/Support/GraphTraits.h2
-rw-r--r--include/Support/GraphWriter.h2
-rw-r--r--include/Support/HashExtras.h2
-rw-r--r--include/Support/MathExtras.h2
-rw-r--r--include/Support/PostOrderIterator.h2
-rw-r--r--include/Support/STLExtras.h2
-rw-r--r--include/Support/SetOperations.h2
-rw-r--r--include/Support/Signals.h2
-rw-r--r--include/Support/StringExtras.h2
-rw-r--r--include/Support/SystemUtils.h2
-rw-r--r--include/Support/Tree.h2
-rw-r--r--include/Support/TypeInfo.h2
-rw-r--r--include/Support/hash_map1
-rw-r--r--include/Support/ilist2
-rw-r--r--include/llvm/ADT/BitSetVector.h16
-rw-r--r--include/llvm/ADT/DepthFirstIterator.h2
-rw-r--r--include/llvm/ADT/EquivalenceClasses.h16
-rw-r--r--include/llvm/ADT/GraphTraits.h2
-rw-r--r--include/llvm/ADT/HashExtras.h2
-rw-r--r--include/llvm/ADT/PostOrderIterator.h2
-rw-r--r--include/llvm/ADT/STLExtras.h2
-rw-r--r--include/llvm/ADT/SetOperations.h2
-rw-r--r--include/llvm/ADT/StringExtras.h2
-rw-r--r--include/llvm/ADT/Tree.h2
-rw-r--r--include/llvm/ADT/ilist2
-rw-r--r--include/llvm/AbstractTypeUser.h2
-rw-r--r--include/llvm/Analysis/CallGraph.h2
-rw-r--r--include/llvm/Analysis/ConstantsScanner.h2
-rw-r--r--include/llvm/Analysis/Expressions.h2
-rw-r--r--include/llvm/Analysis/FindUnsafePointerTypes.h2
-rw-r--r--include/llvm/Analysis/FindUsedTypes.h2
-rw-r--r--include/llvm/Analysis/InstForest.h2
-rw-r--r--include/llvm/Analysis/Interval.h2
-rw-r--r--include/llvm/Analysis/IntervalIterator.h2
-rw-r--r--include/llvm/Analysis/IntervalPartition.h2
-rw-r--r--include/llvm/Analysis/LoopInfo.h2
-rw-r--r--include/llvm/Analysis/PostDominators.h2
-rw-r--r--include/llvm/Analysis/SlotCalculator.h2
-rw-r--r--include/llvm/Analysis/Verifier.h2
-rw-r--r--include/llvm/Assembly/CWriter.h2
-rw-r--r--include/llvm/Assembly/CachedWriter.h2
-rw-r--r--include/llvm/Assembly/Parser.h5
-rw-r--r--include/llvm/Assembly/PrintModulePass.h2
-rw-r--r--include/llvm/Assembly/Writer.h4
-rw-r--r--include/llvm/BasicBlock.h2
-rw-r--r--include/llvm/Bytecode/Format.h4
-rw-r--r--include/llvm/Bytecode/Primitives.h2
-rw-r--r--include/llvm/Bytecode/Reader.h2
-rw-r--r--include/llvm/Bytecode/WriteBytecodePass.h2
-rw-r--r--include/llvm/Bytecode/Writer.h2
-rw-r--r--include/llvm/CodeGen/InstrForest.h2
-rw-r--r--include/llvm/CodeGen/InstrScheduling.h4
-rw-r--r--include/llvm/CodeGen/MachineInstr.h3
-rw-r--r--include/llvm/CodeGen/RegisterAllocation.h2
-rw-r--r--include/llvm/CodeGen/SchedGraphCommon.h4
-rw-r--r--include/llvm/Constant.h2
-rw-r--r--include/llvm/ConstantHandling.h2
-rw-r--r--include/llvm/Constants.h2
-rw-r--r--include/llvm/DerivedTypes.h2
-rw-r--r--include/llvm/GlobalValue.h2
-rw-r--r--include/llvm/GlobalVariable.h2
-rw-r--r--include/llvm/InstrTypes.h2
-rw-r--r--include/llvm/Instruction.def2
-rw-r--r--include/llvm/Linker.h2
-rw-r--r--include/llvm/Module.h2
-rw-r--r--include/llvm/Pass.h2
-rw-r--r--include/llvm/PassAnalysisSupport.h2
-rw-r--r--include/llvm/PassManager.h2
-rw-r--r--include/llvm/SlotCalculator.h2
-rw-r--r--include/llvm/Support/CFG.h6
-rw-r--r--include/llvm/Support/Casting.h2
-rw-r--r--include/llvm/Support/CommandLine.h2
-rw-r--r--include/llvm/Support/DOTGraphTraits.h2
-rw-r--r--include/llvm/Support/GraphWriter.h2
-rw-r--r--include/llvm/Support/InstIterator.h2
-rw-r--r--include/llvm/Support/InstVisitor.h2
-rw-r--r--include/llvm/Support/Linker.h2
-rw-r--r--include/llvm/Support/Mangler.h2
-rw-r--r--include/llvm/Support/MathExtras.h2
-rw-r--r--include/llvm/Support/SystemUtils.h2
-rw-r--r--include/llvm/Support/TypeInfo.h2
-rw-r--r--include/llvm/SymbolTable.h2
-rw-r--r--include/llvm/SymbolTableListTraits.h2
-rw-r--r--include/llvm/System/Signals.h2
-rw-r--r--include/llvm/Target/TargetData.h2
-rw-r--r--include/llvm/Target/TargetMachine.h2
-rw-r--r--include/llvm/Target/TargetRegInfo.h2
-rw-r--r--include/llvm/Target/TargetSchedInfo.h2
-rw-r--r--include/llvm/Transforms/MutateStructTypes.h2
-rw-r--r--include/llvm/Transforms/Scalar.h2
-rw-r--r--include/llvm/Transforms/Utils/BasicBlockUtils.h2
-rw-r--r--include/llvm/Transforms/Utils/Linker.h2
-rw-r--r--include/llvm/Transforms/Utils/Local.h2
-rw-r--r--include/llvm/Type.def2
-rw-r--r--include/llvm/Type.h5
-rw-r--r--include/llvm/User.h2
-rw-r--r--include/llvm/Value.h2
-rw-r--r--include/llvm/iOther.h2
-rw-r--r--include/llvm/iPHINode.h2
106 files changed, 134 insertions, 152 deletions
diff --git a/include/Support/BitSetVector.h b/include/Support/BitSetVector.h
index cdcd52d948..fa2598a285 100644
--- a/include/Support/BitSetVector.h
+++ b/include/Support/BitSetVector.h
@@ -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:
//
diff --git a/include/Support/Casting.h b/include/Support/Casting.h
index 2815ecde71..fc2d4b21ea 100644
--- a/include/Support/Casting.h
+++ b/include/Support/Casting.h
@@ -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.
diff --git a/include/Support/CommandLine.h b/include/Support/CommandLine.h
index 789679e399..179bca378b 100644
--- a/include/Support/CommandLine.h
+++ b/include/Support/CommandLine.h
@@ -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
diff --git a/include/Support/DOTGraphTraits.h b/include/Support/DOTGraphTraits.h
index 2371b66407..6ffade878b 100644
--- a/include/Support/DOTGraphTraits.h
+++ b/include/Support/DOTGraphTraits.h
@@ -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
diff --git a/include/Support/DataTypes.h b/include/Support/DataTypes.h
index 84f3c2b356..eb933216d8 100644
--- a/include/Support/DataTypes.h
+++ b/include/Support/DataTypes.h
@@ -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,
diff --git a/include/Support/DepthFirstIterator.h b/include/Support/DepthFirstIterator.h
index 2bb2e68e67..967a0e145a 100644
--- a/include/Support/DepthFirstIterator.h
+++ b/include/Support/DepthFirstIterator.h
@@ -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.
diff --git a/include/Support/EquivalenceClasses.h b/include/Support/EquivalenceClasses.h
index 96cfc87a72..dab5d73257 100644
--- a/include/Support/EquivalenceClasses.h
+++ b/include/Support/EquivalenceClasses.h
@@ -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 @@ public:
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 @@ public:
}
return EqClass;
-
}
std::map<ElemTy, ElemTy>& getLeaderMap() {
return Elem2ECLeaderMap ;
}
-
};
#endif
diff --git a/include/Support/GraphTraits.h b/include/Support/GraphTraits.h
index 15c285da17..e54d963129 100644
--- a/include/Support/GraphTraits.h
+++ b/include/Support/GraphTraits.h
@@ -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.
diff --git a/include/Support/GraphWriter.h b/include/Support/GraphWriter.h
index 3b7b357554..7b21dbf30f 100644
--- a/include/Support/GraphWriter.h
+++ b/include/Support/GraphWriter.h
@@ -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
diff --git a/include/Support/HashExtras.h b/include/Support/HashExtras.h
index 44355a48e9..f648a28c09 100644
--- a/include/Support/HashExtras.h
+++ b/include/Support/HashExtras.h
@@ -1,4 +1,4 @@
-//===-- HashExtras.h - Useful functions for STL hash containers --*- C++ -*--=//
+//===-- HashExtras.h - Useful functions for STL hash containers -*- C++ -*-===//
//
// This fi