From 48486893f46d2e12e926682a3ecb908716bc66c4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 30 Sep 2003 18:37:50 +0000 Subject: Standardize header file comments git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8782 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/BitSetVector.h | 16 +++++++--------- include/llvm/ADT/DepthFirstIterator.h | 2 +- include/llvm/ADT/EquivalenceClasses.h | 16 ++++++---------- include/llvm/ADT/GraphTraits.h | 2 +- include/llvm/ADT/HashExtras.h | 2 +- include/llvm/ADT/PostOrderIterator.h | 2 +- include/llvm/ADT/STLExtras.h | 2 +- include/llvm/ADT/SetOperations.h | 2 +- include/llvm/ADT/StringExtras.h | 2 +- include/llvm/ADT/Tree.h | 2 +- include/llvm/ADT/ilist | 2 +- include/llvm/AbstractTypeUser.h | 2 +- include/llvm/Analysis/CallGraph.h | 2 +- include/llvm/Analysis/ConstantsScanner.h | 2 +- include/llvm/Analysis/Expressions.h | 2 +- include/llvm/Analysis/FindUnsafePointerTypes.h | 2 +- include/llvm/Analysis/FindUsedTypes.h | 2 +- include/llvm/Analysis/InstForest.h | 2 +- include/llvm/Analysis/Interval.h | 2 +- include/llvm/Analysis/IntervalIterator.h | 2 +- include/llvm/Analysis/IntervalPartition.h | 2 +- include/llvm/Analysis/LoopInfo.h | 2 +- include/llvm/Analysis/PostDominators.h | 2 +- include/llvm/Analysis/SlotCalculator.h | 2 +- include/llvm/Analysis/Verifier.h | 2 +- include/llvm/Assembly/CWriter.h | 2 +- include/llvm/Assembly/CachedWriter.h | 2 +- include/llvm/Assembly/Parser.h | 5 ++--- include/llvm/Assembly/PrintModulePass.h | 2 +- include/llvm/Assembly/Writer.h | 4 +--- include/llvm/BasicBlock.h | 2 +- include/llvm/Bytecode/Format.h | 4 ++-- include/llvm/Bytecode/Primitives.h | 2 +- include/llvm/Bytecode/Reader.h | 2 +- include/llvm/Bytecode/WriteBytecodePass.h | 2 +- include/llvm/Bytecode/Writer.h | 2 +- include/llvm/CodeGen/InstrForest.h | 2 +- include/llvm/CodeGen/InstrScheduling.h | 4 ++-- include/llvm/CodeGen/MachineInstr.h | 3 +-- include/llvm/CodeGen/RegisterAllocation.h | 2 +- include/llvm/CodeGen/SchedGraphCommon.h | 4 ++-- include/llvm/Constant.h | 2 +- include/llvm/ConstantHandling.h | 2 +- include/llvm/Constants.h | 2 +- include/llvm/DerivedTypes.h | 2 +- include/llvm/GlobalValue.h | 2 +- include/llvm/GlobalVariable.h | 2 +- include/llvm/InstrTypes.h | 2 +- include/llvm/Instruction.def | 2 +- include/llvm/Linker.h | 2 +- include/llvm/Module.h | 2 +- include/llvm/Pass.h | 2 +- include/llvm/PassAnalysisSupport.h | 2 +- include/llvm/PassManager.h | 2 +- include/llvm/SlotCalculator.h | 2 +- include/llvm/Support/CFG.h | 6 +++--- include/llvm/Support/Casting.h | 2 +- include/llvm/Support/CommandLine.h | 2 +- include/llvm/Support/DOTGraphTraits.h | 2 +- include/llvm/Support/GraphWriter.h | 2 +- include/llvm/Support/InstIterator.h | 2 +- include/llvm/Support/InstVisitor.h | 2 +- include/llvm/Support/Linker.h | 2 +- include/llvm/Support/Mangler.h | 2 +- include/llvm/Support/MathExtras.h | 2 +- include/llvm/Support/SystemUtils.h | 2 +- include/llvm/Support/TypeInfo.h | 2 +- include/llvm/SymbolTable.h | 2 +- include/llvm/SymbolTableListTraits.h | 2 +- include/llvm/System/Signals.h | 2 +- include/llvm/Target/TargetData.h | 2 +- include/llvm/Target/TargetMachine.h | 2 +- include/llvm/Target/TargetRegInfo.h | 2 +- include/llvm/Target/TargetSchedInfo.h | 2 +- include/llvm/Transforms/MutateStructTypes.h | 2 +- include/llvm/Transforms/Scalar.h | 2 +- include/llvm/Transforms/Utils/BasicBlockUtils.h | 2 +- include/llvm/Transforms/Utils/Linker.h | 2 +- include/llvm/Transforms/Utils/Local.h | 2 +- include/llvm/Type.def | 2 +- include/llvm/Type.h | 5 ++--- include/llvm/User.h | 2 +- include/llvm/Value.h | 2 +- include/llvm/iOther.h | 2 +- include/llvm/iPHINode.h | 2 +- 85 files changed, 103 insertions(+), 114 deletions(-) (limited to 'include/llvm') diff --git a/include/llvm/ADT/BitSetVector.h b/include/llvm/ADT/BitSetVector.h index cdcd52d948..fa2598a285 100644 --- a/include/llvm/ADT/BitSetVector.h +++ b/include/llvm/ADT/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, 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, 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/llvm/ADT/DepthFirstIterator.h b/include/llvm/ADT/DepthFirstIterator.h index 2bb2e68e67..967a0e145a 100644 --- a/include/llvm/ADT/DepthFirstIterator.h +++ b/include/llvm/ADT/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/llvm/ADT/EquivalenceClasses.h b/include/llvm/ADT/EquivalenceClasses.h index 96cfc87a72..dab5d73257 100644 --- a/include/llvm/ADT/EquivalenceClasses.h +++ b/include/llvm/ADT/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::iterator ElemI = Elem2ECLeaderMap.begin(), ElemE = Elem2ECLeaderMap.end(); ElemI != ElemE; ++ElemI) { @@ -77,13 +75,11 @@ public: } return EqClass; - } std::map& getLeaderMap() { return Elem2ECLeaderMap ; } - }; #endif diff --git a/include/llvm/ADT/GraphTraits.h b/include/llvm/ADT/GraphTraits.h index 15c285da17..e54d963129 100644 --- a/include/llvm/ADT/GraphTraits.h +++ b/include/llvm/ADT/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 template class that should be // specialized by classes that want to be iteratable by generic graph iterators. diff --git a/include/llvm/ADT/HashExtras.h b/include/llvm/ADT/HashExtras.h index 44355a48e9..f648a28c09 100644 --- a/include/llvm/ADT/HashExtras.h +++ b/include/llvm/ADT/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 file contains some templates that are useful if you are working with the // STL Hashed containers. diff --git a/include/llvm/ADT/PostOrderIterator.h b/include/llvm/ADT/PostOrderIterator.h index d976f08876..2e5a0ad336 100644 --- a/include/llvm/ADT/PostOrderIterator.h +++ b/include/llvm/ADT/PostOrderIterator.h @@ -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 diff --git a/include/llvm/ADT/STLExtras.h b/include/llvm/ADT/STLExtras.h index 348c4e17aa..012d002427 100644 --- a/include/llvm/ADT/STLExtras.h +++ b/include/llvm/ADT/STLExtras.h @@ -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. diff --git a/include/llvm/ADT/SetOperations.h b/include/llvm/ADT/SetOperations.h index 3a5e6f2bd4..fe020b87da 100644 --- a/include/llvm/ADT/SetOperations.h +++ b/include/llvm/ADT/SetOperations.h @@ -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. diff --git a/include/llvm/ADT/StringExtras.h b/include/llvm/ADT/StringExtras.h index 924f6c35f8..9233d6c0cd 100644 --- a/include/llvm/ADT/StringExtras.h +++ b/include/llvm/ADT/StringExtras.h @@ -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. // diff --git a/include/llvm/ADT/Tree.h b/include/llvm/ADT/Tree.h index 928c99bca9..15572614b0 100644 --- a/include/llvm/ADT/Tree.h +++ b/include/llvm/ADT/Tree.h @@ -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. diff --git a/include/llvm/ADT/ilist b/include/llvm/ADT/ilist index aa6e09c319..14683081d0 100644 --- a/include/llvm/ADT/ilist +++ b/include/llvm/ADT/ilist @@ -1,4 +1,4 @@ -//===-- - 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 diff --git a/include/llvm/AbstractTypeUser.h b/include/llvm/AbstractTypeUser.h index 7c6f429dc6..5859617965 100644 --- a/include/llvm/AbstractTypeUser.h +++ b/include/llvm/AbstractTypeUser.h @@ -1,4 +1,4 @@ -//===-- llvm/AbstractTypeUser.h - AbstractTypeUser Interface -----*- C++ -*--=// +//===-- llvm/AbstractTypeUser.h - AbstractTypeUser Interface ----*- C++ -*-===// // // The AbstractTypeUser class is an interface to be implemented by classes who // could possible use an abstract type. Abstract types are denoted by the diff --git a/include/llvm/Analysis/CallGraph.h b/include/llvm/Analysis/CallGraph.h index f3bc052ff8..a898c5eb1b 100644 --- a/include/llvm/Analysis/CallGraph.h +++ b/include/llvm/Analysis/CallGraph.h @@ -1,4 +1,4 @@ -//===- CallGraph.h - Build a Module's call graph -----------------*- C++ -*--=// +//===- CallGraph.h - Build a Module's call graph ----------------*- C++ -*-===// // // This interface is used to build and manipulate a call graph, which is a very // useful tool for interprocedural optimization. diff --git a/include/llvm/Analysis/ConstantsScanner.h b/include/llvm/Analysis/ConstantsScanner.h index 8035409bbf..1d71676732 100644 --- a/include/llvm/Analysis/ConstantsScanner.h +++ b/include/llvm/Analysis/ConstantsScanner.h @@ -1,4 +1,4 @@ -//==-- llvm/Analysis/ConstantsScanner.h - Iterate over constants -*- C++ -*-==// +//==- llvm/Analysis/ConstantsScanner.h - Iterate over constants -*- C++ -*-===// // // This class implements an iterator to walk through the constants referenced by // a method. This is used by the Bytecode & Assembly writers to build constant diff --git a/include/llvm/Analysis/Expressions.h b/include/llvm/Analysis/Expressions.h index ea336bd46d..8fb8b522c1 100644 --- a/include/llvm/Analysis/Expressions.h +++ b/include/llvm/Analysis/Expressions.h @@ -1,4 +1,4 @@ -//===- llvm/Analysis/Expressions.h - Expression Analysis Utils ---*- C++ -*--=// +//===- llvm/Analysis/Expressions.h - Expression Analysis Utils --*- C++ -*-===// // // This file defines a package of expression analysis utilties: // diff --git a/include/llvm/Analysis/FindUnsafePointerTypes.h b/include/llvm/Analysis/FindUnsafePointerTypes.h index e4e33df6b0..c920f27c12 100644 --- a/include/llvm/Analysis/FindUnsafePointerTypes.h +++ b/include/llvm/Analysis/FindUnsafePointerTypes.h @@ -1,4 +1,4 @@ -//===- llvm/Analysis/FindUnsafePointerTypes.h - Unsafe pointers ---*- C++ -*-=// +//===- llvm/Analysis/FindUnsafePointerTypes.h - Unsafe pointers -*- C++ -*-===// // // This file defines a pass that can be used to determine, interprocedurally, // which pointer types are accessed unsafely in a program. If there is an diff --git a/include/llvm/Analysis/FindUsedTypes.h b/include/llvm/Analysis/FindUsedTypes.h index 21fcabc190..6487416221 100644 --- a/include/llvm/Analysis/FindUsedTypes.h +++ b/include/llvm/Analysis/FindUsedTypes.h @@ -1,4 +1,4 @@ -//===- llvm/Analysis/FindUsedTypes.h - Find all Types in use -----*- C++ -*--=// +//===- llvm/Analysis/FindUsedTypes.h - Find all Types in use ----*- C++ -*-===// // // This pass is used to seek out all of the types in use by the program. // diff --git a/include/llvm/Analysis/InstForest.h b/include/llvm/Analysis/InstForest.h index f49fa98ff3..e0047965f1 100644 --- a/include/llvm/Analysis/InstForest.h +++ b/include/llvm/Analysis/InstForest.h @@ -1,4 +1,4 @@ -//===- llvm/Analysis/InstForest.h - Partition Func into forest ---*- C++ -*--=// +//===- llvm/Analysis/InstForest.h - Partition Func into forest --*- C++ -*-===// // // This interface is used to partition a method into a forest of instruction // trees, where the following invariants hold: diff --git a/include/llvm/Analysis/Interval.h b/include/llvm/Analysis/Interval.h index 13a6f45e86..3974c72871 100644 --- a/include/llvm/Analysis/Interval.h +++ b/include/llvm/Analysis/Interval.h @@ -1,4 +1,4 @@ -//===- llvm/Analysis/Interval.h - Interval Class Declaration -----*- C++ -*--=// +//===- llvm/Analysis/Interval.h - Interval Class Declaration ----*- C++ -*-===// // // This file contains the declaration of the Interval class, which // represents a set of CFG nodes and is a portion of an interval partition. diff --git a/include/llvm/Analysis/IntervalIterator.h b/include/llvm/Analysis/IntervalIterator.h index e533f8ac16..0943eda703 100644 --- a/include/llvm/Analysis/IntervalIterator.h +++ b/include/llvm/Analysis/IntervalIterator.h @@ -1,4 +1,4 @@ -//===- IntervalIterator.h - Interval Iterator Declaration --------*- C++ -*--=// +//===- IntervalIterator.h - Interval Iterator Declaration -------*- C++ -*-===// // // This file defines an iterator that enumerates the intervals in a control flow // graph of some sort. This iterator is parametric, allowing iterator over the diff --git a/include/llvm/Analysis/IntervalPartition.h b/include/llvm/Analysis/IntervalPartition.h index 508f00589b..b03ac1f972 100644 --- a/include/llvm/Analysis/IntervalPartition.h +++ b/include/llvm/Analysis/IntervalPartition.h @@ -1,4 +1,4 @@ -//===- IntervalPartition.h - Interval partition Calculation ------*- C++ -*--=// +//===- IntervalPartition.h - Interval partition Calculation -----*- C++ -*-===// // // This file contains the declaration of the IntervalPartition class, which // calculates and represents the interval partition of a function, or a diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h index df1a091c0d..9a43cce540 100644 --- a/include/llvm/Analysis/LoopInfo.h +++ b/include/llvm/Analysis/LoopInfo.h @@ -1,4 +1,4 @@ -//===- llvm/Analysis/LoopInfo.h - Natural Loop Calculator --------*- C++ -*--=// +//===- llvm/Analysis/LoopInfo.h - Natural Loop Calculator -------*- C++ -*-===// // // This file defines the LoopInfo class that is used to identify natural loops // and determine the loop depth of various nodes of the CFG. Note that natural diff --git a/include/llvm/Analysis/PostDominators.h b/include/llvm/Analysis/PostDominators.h index 8463136ea1..6e5e0981a1 100644 --- a/include/llvm/Analysis/PostDominators.h +++ b/include/llvm/Analysis/PostDominators.h @@ -1,4 +1,4 @@ -//=- llvm/Analysis/PostDominators.h - Post Dominator Calculation -*- C++ -*--=// +//=- llvm/Analysis/PostDominators.h - Post Dominator Calculation-*- C++ -*-===// // // This file exposes interfaces to post dominance information. // diff --git a/include/llvm/Analysis/SlotCalculator.h b/include/llvm/Analysis/SlotCalculator.h index 91006d7017..9d88a0264f 100644 --- a/include/llvm/Analysis/SlotCalculator.h +++ b/include/llvm/Analysis/SlotCalculator.h @@ -1,4 +1,4 @@ -//===-- llvm/SlotCalculator.h - Calculate value slots ------------*- C++ -*-==// +//===-- llvm/SlotCalculator.h - Calculate value slots -----------*- C++ -*-===// // // This class calculates the slots that values will land in. This is useful for // when writing bytecode or assembly out, because you have to know these things. diff --git a/include/llvm/Analysis/Verifier.h b/include/llvm/Analysis/Verifier.h index 645f1fa331..20fbec7764 100644 --- a/include/llvm/Analysis/Verifier.h +++ b/include/llvm/Analysis/Verifier.h @@ -1,4 +1,4 @@ -//===-- llvm/Analysis/Verifier.h - Module Verifier ---------------*- C++ -*-==// +//===-- llvm/Analysis/Verifier.h - Module Verifier --------------*- C++ -*-===// // // This file defines the function verifier interface, that can be used for some // sanity checking of input to the system, and for checking that transformations diff --git a/include/llvm/Assembly/CWriter.h b/include/llvm/Assembly/CWriter.h index 0608870f47..0f907c1931 100644 --- a/include/llvm/Assembly/CWriter.h +++ b/include/llvm/Assembly/CWriter.h @@ -1,4 +1,4 @@ -//===-- llvm/Assembly/CWriter.h - C Printer for LLVM programs --*- C++ -*--===// +//===-- llvm/Assembly/CWriter.h - C Printer for LLVM programs ---*- C++ -*-===// // // This functionality is implemented by the lib/CWriter library. This library // is used to print C language files to an iostream. diff --git a/include/llvm/Assembly/CachedWriter.h b/include/llvm/Assembly/CachedWriter.h index c1ef1037ee..a0f05cf677 100644 --- a/include/llvm/Assembly/CachedWriter.h +++ b/include/llvm/Assembly/CachedWriter.h @@ -1,4 +1,4 @@ -//===-- llvm/Assembly/CachedWriter.h - Printer Accellerator ------*- C++ -*--=// +//===-- llvm/Assembly/CachedWriter.h - Printer Accellerator -----*- C++ -*-===// // // This file defines a 'CacheWriter' class that is used to accelerate printing // chunks of LLVM. This is used when a module is not being changed, but random diff --git a/include/llvm/Assembly/Parser.h b/include/llvm/Assembly/Parser.h index b54617ad6d..e0855410a9 100644 --- a/include/llvm/Assembly/Parser.h +++ b/include/llvm/Assembly/Parser.h @@ -1,4 +1,4 @@ -//===-- llvm/Assembly/Parser.h - Parser for VM assembly files ----*- C++ -*--=// +//===-- llvm/Assembly/Parser.h - Parser for VM assembly files ---*- C++ -*-===// // // These classes are implemented by the lib/AsmParser library. // @@ -27,8 +27,7 @@ Module *ParseAssemblyFile(const std::string &Filename);// throw (ParseException) // ParseException - For when an exceptional event is generated by the parser. // This class lets you print out the exception message // -class ParseException { -public: +struct ParseException { ParseException(const std::string &filename, const std::string &message, int LineNo = -1, int ColNo = -1); diff --git a/include/llvm/Assembly/PrintModulePass.h b/include/llvm/Assembly/PrintModulePass.h index a86f13cf7f..1100e23cd9 100644 --- a/include/llvm/Assembly/PrintModulePass.h +++ b/include/llvm/Assembly/PrintModulePass.h @@ -1,4 +1,4 @@ -//===- llvm/Assembly/PrintModulePass.h - Printing Pass -----------*- C++ -*--=// +//===- llvm/Assembly/PrintModulePass.h - Printing Pass ----------*- C++ -*-===// // // This file defines two passes to print out a module. The PrintModulePass pass // simply prints out the entire module when it is executed. The diff --git a/include/llvm/Assembly/Writer.h b/include/llvm/Assembly/Writer.h index f87dc12ad0..dea44d07cb 100644 --- a/include/llvm/Assembly/Writer.h +++ b/include/llvm/Assembly/Writer.h @@ -1,4 +1,4 @@ -//===-- llvm/Assembly/Writer.h - Printer for VM assembly files ---*- C++ -*--=// +//===-- llvm/Assembly/Writer.h - Printer for VM assembly files --*- C++ -*-===// // // This functionality is implemented by the lib/Assembly/Writer library. // This library is used to print VM assembly language files to an iostream. It @@ -21,14 +21,12 @@ class Type; class Module; class Value; - // WriteTypeSymbolic - This attempts to write the specified type as a symbolic // type, iff there is an entry in the modules symbol table for the specified // type or one of it's component types. This is slower than a simple x << Type; // std::ostream &WriteTypeSymbolic(std::ostream &, const Type *, const Module *M); - // WriteAsOperand - Write the name of the specified value out to the specified // ostream. This can be useful when you just want to print int %reg126, not the // whole instruction that generated it. If you specify a Module for context, diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h index f4c75f1134..ab8e3b4d24 100644 --- a/include/llvm/BasicBlock.h +++ b/include/llvm/BasicBlock.h @@ -1,4 +1,4 @@ -//===-- llvm/BasicBlock.h - Represent a basic block in the VM ----*- C++ -*--=// +//===-- llvm/BasicBlock.h - Represent a basic block in the VM ---*- C++ -*-===// /// /// \class BasicBlock /// diff --git a/include/llvm/Bytecode/Format.h b/include/llvm/Bytecode/Format.h index 4edc0915b0..846bbb7260 100644 --- a/include/llvm/Bytecode/Format.h +++ b/include/llvm/Bytecode/Format.h @@ -1,4 +1,4 @@ -//===-- llvm/Bytecode/Format.h - VM bytecode file format info ----*- C++ -*--=// +//===-- llvm/Bytecode/Format.h - VM bytecode file format info ---*- C++ -*-===// // // This header defines intrinsic constants that are useful to libraries that // need to hack on bytecode files directly, like the reader and writer. @@ -24,7 +24,7 @@ public: ModuleGlobalInfo, GlobalTypePlane, - // Method subtypes: + // Function subtypes: MethodInfo = 0x21, // Can also have ConstantPool block // Can also have SymbolTable block diff --git a/include/llvm/Bytecode/Primitives.h b/include/llvm/Bytecode/Primitives.h index a8094af337..97548ccb3d 100644 --- a/include/llvm/Bytecode/Primitives.h +++ b/include/llvm/Bytecode/Primitives.h @@ -1,4 +1,4 @@ -//===-- llvm/Bytecode/Primitives.h - Bytecode file format prims --*- C++ -*--=// +//===-- llvm/Bytecode/Primitives.h - Bytecode file format prims -*- C++ -*-===// // // This header defines some basic functions for reading and writing basic // primitive types to a bytecode stream. diff --git a/include/llvm/Bytecode/Reader.h b/include/llvm/Bytecode/Reader.h index baf0603d3b..e195a322d1 100644 --- a/include/llvm/Bytecode/Reader.h +++ b/include/llvm/Bytecode/Reader.h @@ -1,4 +1,4 @@ -//===-- llvm/Bytecode/Reader.h - Reader for VM bytecode files ----*- C++ -*--=// +//===-- llvm/Bytecode/Reader.h - Reader for VM bytecode files ---*- C++ -*-===// // // This functionality is implemented by the lib/Bytecode/Reader library. // This library is used to read VM bytecode files from an iostream. diff --git a/include/llvm/Bytecode/WriteBytecodePass.h b/include/llvm/Bytecode/WriteBytecodePass.h index 1141a42346..1006cb6939 100644 --- a/include/llvm/Bytecode/WriteBytecodePass.h +++ b/include/llvm/Bytecode/WriteBytecodePass.h @@ -1,4 +1,4 @@ -//===- llvm/Bytecode/WriteBytecodePass.h - Bytecode Writer Pass --*- C++ -*--=// +//===- llvm/Bytecode/WriteBytecodePass.h - Bytecode Writer Pass -*- C++ -*-===// // // This file defines a simple pass to write the working module to a file after // pass processing is completed. diff --git a/include/llvm/Bytecode/Writer.h b/include/llvm/Bytecode/Writer.h index b4d5e78fd0..0113f78a38 100644 --- a/include/llvm/Bytecode/Writer.h +++ b/include/llvm/Bytecode/Writer.h @@ -1,4 +1,4 @@ -//===-- llvm/Bytecode/Writer.h - Writer for VM bytecode files ----*- C++ -*--=// +//===-- llvm/Bytecode/Writer.h - Writer for VM bytecode files ---*- C++ -*-===// // // This functionality is implemented by the lib/BytecodeWriter library. // This library is used to write VM bytecode files to an iostream. First, you diff --git a/include/llvm/CodeGen/InstrForest.h b/include/llvm/CodeGen/InstrForest.h index 1927b33758..c770513ade 100644 --- a/include/llvm/CodeGen/InstrForest.h +++ b/include/llvm/CodeGen/InstrForest.h @@ -1,4 +1,4 @@ -//===-- llvm/CodeGen/InstForest.h ------------------------------*- C++ -*--===// +//===-- llvm/CodeGen/InstForest.h -------------------------------*- C++ -*-===// // // Purpose: // Convert SSA graph to instruction trees for instruction selection. diff --git a/include/llvm/CodeGen/InstrScheduling.h b/include/llvm/CodeGen/InstrScheduling.h index 1e9c0dcf50..1f04d02bc1 100644 --- a/include/llvm/CodeGen/InstrScheduling.h +++ b/include/llvm/CodeGen/InstrScheduling.h @@ -1,4 +1,4 @@ -//===-- InstrScheduling.h - Interface To Instruction Scheduling --*- C++ -*-==// +//===-- InstrScheduling.h - Interface To Instruction Scheduling -*- C++ -*-===// // // This file defines a minimal, but complete, interface to instruction // scheduling. @@ -21,6 +21,6 @@ class TargetMachine; // are still in SSA form. //--------------------------------------------------------------------------- -FunctionPass *createInstructionSchedulingWithSSAPass(const TargetMachine &Target); +FunctionPass *createInstructionSchedulingWithSSAPass(const TargetMachine &TM); #endif diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 60707ba71e..f171d776cc 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -1,4 +1,4 @@ -//===-- llvm/CodeGen/MachineInstr.h - MachineInstr class ---------*- C++ -*--=// +//===-- llvm/CodeGen/MachineInstr.h - MachineInstr class --------*- C++ -*-===// // // This file contains the declaration of the MachineInstr class, which is the // basic representation for all target dependent machine instructions used by @@ -12,7 +12,6 @@ #include "llvm/Target/MRegisterInfo.h" #include "Support/Annotation.h" #include "Support/iterator" -#include class Value; class Function; diff --git a/include/llvm/CodeGen/RegisterAllocation.h b/include/llvm/CodeGen/RegisterAllocation.h index 572c325610..60d0df511a 100644 --- a/include/llvm/CodeGen/RegisterAllocation.h +++ b/include/llvm/CodeGen/RegisterAllocation.h @@ -1,4 +1,4 @@ -//===-- CodeGen/RegisterAllocation.h - RegAlloc Pass -------------*- C++ -*--=// +//===-- CodeGen/RegisterAllocation.h - RegAlloc Pass ------------*- C++ -*-===// // // This pass register allocates a module, a method at a time. // diff --git a/include/llvm/CodeGen/SchedGraphCommon.h b/include/llvm/CodeGen/SchedGraphCommon.h index 46e49e14ea..8501448fe2 100644 --- a/include/llvm/CodeGen/SchedGraphCommon.h +++ b/include/llvm/CodeGen/SchedGraphCommon.h @@ -1,9 +1,9 @@ -//===-- SchedGraphCommon.h - Scheduling Base Graph ---------------*- C++ -*---=// +//===-- SchedGraphCommon.h - Scheduling Base Graph --------------*- C++ -*-===// // // A common graph class that is based on the SSA graph. It includes // extra dependencies that are caused by machine resources. // -//===-------------------------------------------------------------------------=// +//===----------------------------------------------------------------------===// #ifndef LLVM_CODEGEN_SCHEDGRAPHCOMMON_H #define LLVM_CODEGEN_SCHEDGRAPHCOMMON_H diff --git a/include/llvm/Constant.h b/include/llvm/Constant.h index e6f63b1292..48f1fcce19 100644 --- a/include/llvm/Constant.h +++ b/include/llvm/Constant.h @@ -1,4 +1,4 @@ -//===-- llvm/Constant.h - Constant class definition --------------*- C++ -*--=// +//===-- llvm/Constant.h - Constant class definition -------------*- C++ -*-===// // // This file contains the declaration of the Constant class. // diff --git a/include/llvm/ConstantHandling.h b/include/llvm/ConstantHandling.h index 66719cda8e..b23566c209 100644 --- a/include/llvm/ConstantHandling.h +++ b/include/llvm/ConstantHandling.h @@ -1,4 +1,4 @@ -//===-- ConstantHandling.h - Stuff for manipulating constants ----*- C++ -*--=// +//===-- ConstantHandling.h - Stuff for manipulating constants ---*- C++ -*-===// // // This file contains the declarations of some cool operators that allow you // to do natural things with constant pool values. diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index f36e28bd44..dc6922e638 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -1,4 +1,4 @@ -//===-- llvm/Constants.h - Constant class subclass definitions ---*- C++ -*--=// +//===-- llvm/Constants.h - Constant class subclass definitions --*- C++ -*-===// // // This file contains the declarations for the subclasses of Constant, which // represent the different type of constant pool values diff --git a/include/llvm/DerivedTypes.h b/include/llvm/DerivedTypes.h index 39a87b80d3..f65a2ce1c5 100644 --- a/include/llvm/DerivedTypes.h +++ b/include/llvm/DerivedTypes.h @@ -1,4 +1,4 @@ -//===-- llvm/DerivedTypes.h - Classes for handling data types ----*- C++ -*--=// +//===-- llvm/DerivedTypes.h - Classes for handling data types ---*- C++ -*-===// // // This file contains the declarations of classes that represent "derived // types". These are things like "arrays of x" or "structure of x, y, z" or diff --git a/include/llvm/GlobalValue.h b/include/llvm/GlobalValue.h index 13ad923718..a80e1fe095 100644 --- a/include/llvm/GlobalValue.h +++ b/include/llvm/GlobalValue.h @@ -1,4 +1,4 @@ -//===-- llvm/GlobalValue.h - Class to represent a global value ---*- C++ -*--=// +//===-- llvm/GlobalValue.h - Class to represent a global value --*- C++ -*-===// // // This file is a common base class of all globally definable objects. As such, // it is subclassed by GlobalVariable and by Function. This is used because you diff --git a/include/llvm/GlobalVariable.h b/include/llvm/GlobalVariable.h index 1fd004cb80..064d3ef6d0 100644 --- a/include/llvm/GlobalVariable.h +++ b/include/llvm/GlobalVariable.h @@ -1,4 +1,4 @@ -//===-- llvm/Global.h - Class to represent a global variable -----*- C++ -*--=// +//===-- llvm/Global.h - Class to represent a global variable ----*- C++ -*-===// // // This file contains the declaration of the GlobalVariable class, which // represents a single global variable (or constant) in the VM. diff --git a/include/llvm/InstrTypes.h b/include/llvm/InstrTypes.h index 931ae41a98..4c6f1441e3 100644 --- a/include/llvm/InstrTypes.h +++ b/include/llvm/InstrTypes.h @@ -1,4 +1,4 @@ -//===-- llvm/InstrTypes.h - Important Instruction subclasses -----*- C++ -*--=// +//===-- llvm/InstrTypes.h - Important Instruction subclasses ----*- C++ -*-===// // // This file defines various meta classes of instructions that exist in the VM // representation. Specific concrete subclasses of these may be found in the diff --git a/include/llvm/Instruction.def b/include/llvm/Instruction.def index 3b3858ad16..ea3b71d53c 100644 --- a/include/llvm/Instruction.def +++ b/include/llvm/Instruction.def @@ -1,4 +1,4 @@ -//===-- llvm/Instruction.def - File that describes Instructions --*- C++ -*--=// +//===-- llvm/Instruction.def - File that describes Instructions -*- C++ -*-===// // // This file contains descriptions of the various LLVM instructions. This is // used as a central place for enumerating the different instructions and diff --git a/include/llvm/Linker.h b/include/llvm/Linker.h index dac0f9b90e..f40cce3dcd 100644 --- a/include/llvm/Linker.h +++ b/include/llvm/Linker.h @@ -1,4 +1,4 @@ -//===- llvm/Transforms/Utils/Linker.h - Module Linker Interface --*- C++ -*--=// +//===- llvm/Transforms/Utils/Linker.h - Module Linker Interface -*- C++ -*-===// // // This file defines the interface to the module linker. // diff --git a/include/llvm/Module.h b/include/llvm/Module.h index 4afcc4bd0f..b27a012095 100644 --- a/include/llvm/Module.h +++ b/include/llvm/Module.h @@ -1,4 +1,4 @@ -//===-- llvm/Module.h - C++ class to represent a VM module -------*- C++ -*--=// +//===-- llvm/Module.h - C++ class to represent a VM module ------*- C++ -*-===// // // This file contains the declarations for the Module class that is used to // maintain all the information related to a VM module. diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h index 9e43b5e0a3..637d26bf55 100644 --- a/include/llvm/Pass.h +++ b/include/llvm/Pass.h @@ -1,4 +1,4 @@ -//===- llvm/Pass.h - Base class for XForm Passes -----------------*- C++ -*--=// +//===- llvm/Pass.h - Base class for Passes ----------------------*- C++ -*-===// // // This file defines a base class that indicates that a specified class is a // transformation pass implementation. diff --git a/include/llvm/PassAnalysisSupport.h b/include/llvm/PassAnalysisSupport.h index d27d669649..7355e85def 100644 --- a/include/llvm/PassAnalysisSupport.h +++ b/include/llvm/PassAnalysisSupport.h @@ -1,4 +1,4 @@ -//===- llvm/PassAnalysisSupport.h - Analysis Pass Support code ---*- C++ -*-==// +//===- llvm/PassAnalysisSupport.h - Analysis Pass Support code --*- C++ -*-===// // // This file defines stuff that is used to define and "use" Analysis Passes. // This file is automatically #included by Pass.h, so: diff --git a/include/llvm/PassManager.h b/include/llvm/PassManager.h index c30164b540..367809e5cc 100644 --- a/include/llvm/PassManager.h +++ b/include/llvm/PassManager.h @@ -1,4 +1,4 @@ -//===- llvm/PassManager.h - Container for Passes -----------------*- C++ -*--=// +//===- llvm/PassManager.h - Container for Passes ----------------*- C++ -*-===// // // This file defines the PassManager class. This class is used to hold, // maintain, and optimize execution of Passes. The PassManager class ensures diff --git a/include/llvm/SlotCalculator.h b/include/llvm/SlotCalculator.h index 91006d7017..9d88a0264f 100644 --- a/include/llvm/SlotCalculator.h +++ b/include/llvm/SlotCalculator.h @@ -1,4 +1,4 @@ -//===-- llvm/SlotCalculator.h - Calculate value slots ------------*- C++ -*-==// +//===-- llvm/SlotCalculator.h - Calculate value slots -----------*- C++ -*-===// // // This class calculates the slots that values will land in. This is useful for // when writing bytecode or assembly out, because you have to know these things. diff --git a/include/llvm/Support/CFG.h b/include/llvm/Support/CFG.h index 6a3abd9260..2d67c026eb 100644 --- a/include/llvm/Support/CFG.h +++ b/include/llvm/Support/CFG.h @@ -1,12 +1,12 @@ -//===-- llvm/Support/CFG.h - Process LLVM structures as graphs ---*- C++ -*--=// +//===-- llvm/Support/CFG.h - Process LLVM structures as graphs --*- C++ -*-===// // // This file defines specializations of GraphTraits that allow Function and // BasicBlock graphs to be treated as proper graphs for generic algorithms. // //===----------------------------------------------------------------------===// -#ifndef LLVM_CFG_H -#define LLVM_CFG_H +#ifndef LLVM_SUPPORT_CFG_H +#define LLVM_SUPPORT_CFG_H #include "Support/GraphTraits.h" #include "llvm/Function.h" diff --git a/include/llvm/Support/Casting.h b/include/llvm/Support/Casting.h index 2815ecde71..fc2d4b21ea 100644 --- a/include/llvm/Support/Casting.h +++ b/include/llvm/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(), cast(), dyn_cast(), cast_or_null(), // and dyn_cast_or_null() templates. diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h index 789679e399..179bca378b 100644 --- a/include/llvm/Support/CommandLine.h +++ b/include/llvm/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/llvm/Support/DOTGraphTraits.h b/include/llvm/Support/DOTGraphTraits.h index 2371b66407..6ffade878b 100644 --- a/include/llvm/Support/DOTGraphTraits.h +++ b/include/llvm/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/llvm/Support/GraphWriter.h b/include/llvm/Support/GraphWriter.h index 3b7b357554..7b21dbf30f 100644 --- a/include/llvm/Support/GraphWriter.h +++ b/include/llvm/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/llvm/Support/InstIterator.h b/include/llvm/Support/InstIterator.h index 06fc9bd281..1f6862ba91 100644 --- a/include/llvm/Support/InstIterator.h +++ b/include/llvm/Support/InstIterator.h @@ -1,4 +1,4 @@ -//===-- llvm/Support/InstIterator.h - Classes for inst iteration -*- C++ -*--=// +//===- llvm/Support/InstIterator.h - Classes for inst iteration -*- C++ -*-===// // // This file contains definitions of two iterators for iterating over the // instructions in a function. This is effectively a wrapper around a two level diff --git a/include/llvm/Support/InstVisitor.h b/include/llvm/Support/InstVisitor.h index 758cc99064..9934522f45 100644 --- a/include/llvm/Support/InstVisitor.h +++ b/include/llvm/Support/InstVisitor.h @@ -1,4 +1,4 @@ -//===- llvm/Support/InstVisitor.h - Define instruction visitors --*- C++ -*--=// +//===- llvm/Support/InstVisitor.h - Define instruction visitors -*- C++ -*-===// // // This template class is used to define instruction visitors in a typesafe // manner without having to use lots of casts and a big switch statement (in diff --git a/include/llvm/Support/Linker.h b/include/llvm/Support/Linker.h index dac0f9b90e..f40cce3dcd 100644 --- a/include/llvm/Support/Linker.h +++ b/include/llvm/Support/Linker.h @@ -1,4 +1,4 @@ -//===- llvm/Transforms/Utils/Linker.h - Module Linker Interface --*- C++ -*--=// +//===- llvm/Transforms/Utils/Linker.h - Module Linker Interface -*- C++ -*-===// // // This file defines the interface to the module linker. // diff --git a/include/llvm/Support/Mangler.h b/include/llvm/Support/Mangler.h index 15ec2f49fc..7e44827a47 100644 --- a/include/llvm/Support/Mangler.h +++ b/include/llvm/Support/Mangler.h @@ -1,4 +1,4 @@ -//===-- Mangler.h - Self-contained c/asm llvm name mangler -*- C++ -*- ----===// +//===-- Mangler.h - Self-contained c/asm llvm name mangler ------*- C++ -*-===// // // Unified name mangler for CWriter and assembly backends. // diff --git a/include/llvm/Support/MathExtras.h b/include/llvm/Support/MathExtras.h index bfb88552bf..ea3bba40c9 100644 --- a/include/llvm/Support/MathExtras.h +++ b/include/llvm/Support/MathExtras.h @@ -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. // diff --git a/include/llvm/Support/SystemUtils.h b/include/llvm/Support/SystemUtils.h index 26371c93dc..01c8189723 100644 --- a/include/llvm/Support/SystemUtils.h +++ b/include/llvm/Support/SystemUtils.h @@ -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. diff --git a/include/llvm/Support/TypeInfo.h b/include/llvm/Support/TypeInfo.h index 9884f65e69..488f56dc0f 100644 --- a/include/llvm/Support/TypeInfo.h +++ b/include/llvm/Support/TypeInfo.h @@ -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 diff --git a/include/llvm/SymbolTable.h b/include/llvm/SymbolTable.h index d020ecbb77..30dc14fb7f 100644 --- a/include/llvm/SymbolTable.h +++ b/include/llvm/SymbolTable.h @@ -1,4 +1,4 @@ -//===-- llvm/SymbolTable.h - Implement a type plane'd symtab ------*- C++ -*-=// +//===-- llvm/SymbolTable.h - Implement a type plane'd symtab ----*- C++ -*-===// // // This file implements a symbol table that has planed broken up by type. // Identical types may have overlapping symbol names as long as they are diff --git a/include/llvm/SymbolTableListTraits.h b/include/llvm/SymbolTableListTraits.h index 74aede11a3..633fe6d821 100644 --- a/include/llvm/SymbolTableListTraits.h +++ b/include/llvm/SymbolTableListTraits.h @@ -1,4 +1,4 @@ -//===-- llvm/SymbolTableListTraits.h - Traits for iplist -------*- C++ -*--===// +//===-- llvm/SymbolTableListTraits.h - Traits for iplist --------*- C++ -*-===// // // This file defines a generic class that is used to implement the automatic // symbol table manipulation that occurs when you put (for example) a named diff --git a/include/llvm/System/Signals.h b/include/llvm/System/Signals.h index 1445bd461d..218cf99a24 100644 --- a/include/llvm/System/Signals.h +++ b/include/llvm/System/Signals.h @@ -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. diff --git a/include/llvm/Target/TargetData.h b/include/llvm/Target/TargetData.h index 11d078c232..ae7780dc3a 100644 --- a/include/llvm/Target/TargetData.h +++ b/include/llvm/Target/TargetData.h @@ -1,4 +1,4 @@ -//===-- llvm/Target/TargetData.h - Data size & alignment routines-*- C++ -*-==// +//===-- llvm/Target/TargetData.h - Data size & alignment info ---*- C++ -*-===// // // This file defines target properties related to datatype size/offset/alignment // information. It uses lazy annotations to cache information about how diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h index 0772c13755..447355e240 100644 --- a/include/llvm/Target/TargetMachine.h +++ b/include/llvm/Target/TargetMachine.h @@ -1,4 +1,4 @@ -//===-- llvm/Target/TargetMachine.h - General Target Information -*- C++ -*-==// +//===-- llvm/Target/TargetMachine.h - Target Information --------*- C++ -*-===// // // This file describes the general parts of a Target machine. // diff --git a/include/llvm/Target/TargetRegInfo.h b/include/llvm/Target/TargetRegInfo.h index 44ba3e06f2..51d11c2a6e 100644 --- a/include/llvm/Target/TargetRegInfo.h +++ b/include/llvm/Target/TargetRegInfo.h @@ -1,4 +1,4 @@ -//===-- llvm/Target/TargetRegInfo.h - Target Register Info -------*- C++ -*-==// +//===-- llvm/Target/TargetRegInfo.h - Target Register Info ------*- C++ -*-===// // // This file is used to describe the register system of a target to the // register allocator. diff --git a/include/llvm/Target/TargetSchedInfo.h b/include/llvm/Target/TargetSchedInfo.h index 5d42d40bcb..9c9da1d083 100644 --- a/include/llvm/Target/TargetSchedInfo.h +++ b/include/llvm/Target/TargetSchedInfo.h @@ -1,4 +1,4 @@ -//===- Target/TargetSchedInfo.h - Target Instruction Sched Info --*- C++ -*-==// +//===- Target/TargetSchedInfo.h - Target Instruction Sched Info -*- C++ -*-===// // // This file describes the target machine to the instruction scheduler. // diff --git a/include/llvm/Transforms/MutateStructTypes.h b/include/llvm/Transforms/MutateStructTypes.h index 26da666c4a..1597ac9a10 100644 --- a/include/llvm/Transforms/MutateStructTypes.h +++ b/include/llvm/Transforms/MutateStructTypes.h @@ -1,4 +1,4 @@ -//===- llvm/Transforms/MutateStructTypes.h - Change struct defns -*- C++ -*--=// +//===-- llvm/Transforms/MutateStructTypes.h - Rearrange structs -*- C++ -*-===// // // This pass is used to change structure accesses and type definitions in some // way. It can be used to arbitrarily permute structure fields, safely, without diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index 796d57b578..1c9a1299c0 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -1,4 +1,4 @@ -//===-- Scalar.h - Scalar Transformations ------------------------*- C++ -*-==// +//===-- Scalar.h - Scalar Transformations -----------------------*- C++ -*-===// // // This header file defines prototypes for accessor functions that expose passes // in the Scalar transformations library. diff --git a/include/llvm/Transforms/Utils/BasicBlockUtils.h b/include/llvm/Transforms/Utils/BasicBlockUtils.h index 3e8edcec1a..680ce41a5e 100644 --- a/include/llvm/Transforms/Utils/BasicBlockUtils.h +++ b/include/llvm/Transforms/Utils/BasicBlockUtils.h @@ -1,4 +1,4 @@ -//===-- Transform/Utils/BasicBlockUtils.h - BasicBlock Utilities -*- C++ -*-==// +//===-- Transform/Utils/BasicBlockUtils.h - BasicBlock Utils ----*- C++ -*-===// // // This family of functions perform manipulations on basic blocks, and // instructions contained within basic blocks. diff --git a/include/llvm/Transforms/Utils/Linker.h b/include/llvm/Transforms/Utils/Linker.h index dac0f9b90e..f40cce3dcd 100644 --- a/include/llvm/Transforms/Utils/Linker.h +++ b/include/llvm/Transforms/Utils/Linker.h @@ -1,4 +1,4 @@ -//===- llvm/Transforms/Utils/Linker.h - Module Linker Interface --*- C++ -*--=// +//===- llvm/Transforms/Utils/Linker.h - Module Linker Interface -*- C++ -*-===// // // This file defines the interface to the module linker. // diff --git a/include/llvm/Transforms/Utils/Local.h b/include/llvm/Transforms/Utils/Local.h index 86cabec795..ac51bca1da 100644 --- a/include/llvm/Transforms/Utils/Local.h +++ b/include/llvm/Transforms/Utils/Local.h @@ -1,4 +1,4 @@ -//===-- Local.h - Functions to perform local transformations -----*- C++ -*--=// +//===-- Local.h - Functions to perform local transformations ----*- C++ -*-===// // // This family of functions perform various local transformations to the // program. diff --git a/include/llvm/Type.def b/include/llvm/Type.def index c56da22b76..e271f10f7e 100644 --- a/include/llvm/Type.def +++ b/include/llvm/Type.def @@ -1,4 +1,4 @@ -//===-- llvm/Type.def - File that describes various LLVM types ---*- C++ -*--=// +//===-- llvm/Type.def - File that describes various LLVM types --*- C++ -*-===// // // This file contains descriptions of the various LLVM types and derived types. // This file serves as a source of in source documentation and a can be diff --git a/include/llvm/Type.h b/include/llvm/Type.h index b72bcf97ba..30949a6457 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -1,4 +1,4 @@ -//===-- llvm/Type.h - Classes for handling data types ------------*- C++ -*--=// +//===-- llvm/Type.h - Classes for handling data types -----------*- C++ -*-===// // // This file contains the declaration of the Type class. For more "Type" type // stuff, look in DerivedTypes.h. @@ -37,8 +37,7 @@ class PointerType; class StructType; class OpaqueType; -class Type : public Value { -public: +struct Type : public Value { ///===-------------------------------------------------------------------===// /// Definitions of all of the base types for the Type system. Based on this /// value, you can cast to a "DerivedType" subclass (see DerivedTypes.h) diff --git a/include/llvm/User.h b/include/llvm/User.h index cf0f53c4ad..aa29f6dae3 100644 --- a/include/llvm/User.h +++ b/include/llvm/User.h @@ -1,4 +1,4 @@ -//===-- llvm/User.h - User class definition ----------------------*- C++ -*--=// +//===-- llvm/User.h - User class definition ---------------------*- C++ -*-===// // // This class defines the interface that one who 'use's a Value must implement. // Each instance of the Value class keeps track of what User's have handles diff --git a/include/llvm/Value.h b/include/llvm/Value.h index 437a380801..99bc8affa4 100644 --- a/include/llvm/Value.h +++ b/include/llvm/Value.h @@ -1,4 +1,4 @@ -//===-- llvm/Value.h - Definition of the Value class -------------*- C++ -*--=// +//===-- llvm/Value.h - Definition of the Value class ------------*- C++ -*-===// // // This file defines the very important Value class. This is subclassed by a // bunch of other important classes, like Instruction, Function, Type, etc... diff --git a/include/llvm/iOther.h b/include/llvm/iOther.h index 45b8db367d..787483348f 100644 --- a/include/llvm/iOther.h +++ b/include/llvm/iOther.h @@ -1,4 +1,4 @@ -//===-- llvm/iOther.h - "Other" instruction node definitions -----*- C++ -*--=// +//===-- llvm/iOther.h - "Other" instruction node definitions ----*- C++ -*-===// // // This file contains the declarations for instructions that fall into the // grandiose 'other' catagory... diff --git a/include/llvm/iPHINode.h b/include/llvm/iPHINode.h index eba5a73554..4dbee25790 100644 --- a/include/llvm/iPHINode.h +++ b/include/llvm/iPHINode.h @@ -1,4 +1,4 @@ -//===-- llvm/iPHINode.h - PHI instruction definition -------------*- C++ -*--=// +//===-- llvm/iPHINode.h - PHI instruction definition ------------*- C++ -*-===// // // This file defines the PHINode class. // -- cgit v1.2.3