diff options
author | Chris Lattner <sabre@nondot.org> | 2003-09-30 18:37:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-09-30 18:37:50 +0000 |
commit | 48486893f46d2e12e926682a3ecb908716bc66c4 (patch) | |
tree | 1b9df5ccb8bd8eb836403dc9c1b3b42707c2d07d /include/llvm/Assembly | |
parent | f4744498042cc69627b3a0b40fe80d3967179ea4 (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/llvm/Assembly')
-rw-r--r-- | include/llvm/Assembly/CWriter.h | 2 | ||||
-rw-r--r-- | include/llvm/Assembly/CachedWriter.h | 2 | ||||
-rw-r--r-- | include/llvm/Assembly/Parser.h | 5 | ||||
-rw-r--r-- | include/llvm/Assembly/PrintModulePass.h | 2 | ||||
-rw-r--r-- | include/llvm/Assembly/Writer.h | 4 |
5 files changed, 6 insertions, 9 deletions
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, |