[llvm-commits] CVS: llvm/include/llvm/Assembly/CWriter.h CachedWriter.h Parser.h PrintModulePass.h Writer.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Sep 30 13:38:18 PDT 2003
Changes in directory llvm/include/llvm/Assembly:
CWriter.h updated: 1.2 -> 1.3
CachedWriter.h updated: 1.9 -> 1.10
Parser.h updated: 1.5 -> 1.6
PrintModulePass.h updated: 1.12 -> 1.13
Writer.h updated: 1.24 -> 1.25
---
Log message:
Standardize header file comments
---
Diffs of the changes:
Index: llvm/include/llvm/Assembly/CWriter.h
diff -u llvm/include/llvm/Assembly/CWriter.h:1.2 llvm/include/llvm/Assembly/CWriter.h:1.3
--- llvm/include/llvm/Assembly/CWriter.h:1.2 Fri Aug 30 19:28:25 2002
+++ llvm/include/llvm/Assembly/CWriter.h Tue Sep 30 13:37:41 2003
@@ -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.
Index: llvm/include/llvm/Assembly/CachedWriter.h
diff -u llvm/include/llvm/Assembly/CachedWriter.h:1.9 llvm/include/llvm/Assembly/CachedWriter.h:1.10
--- llvm/include/llvm/Assembly/CachedWriter.h:1.9 Sat Apr 27 23:47:33 2002
+++ llvm/include/llvm/Assembly/CachedWriter.h Tue Sep 30 13:37:41 2003
@@ -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
Index: llvm/include/llvm/Assembly/Parser.h
diff -u llvm/include/llvm/Assembly/Parser.h:1.5 llvm/include/llvm/Assembly/Parser.h:1.6
--- llvm/include/llvm/Assembly/Parser.h:1.5 Fri Aug 30 17:51:21 2002
+++ llvm/include/llvm/Assembly/Parser.h Tue Sep 30 13:37:41 2003
@@ -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 @@
// 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);
Index: llvm/include/llvm/Assembly/PrintModulePass.h
diff -u llvm/include/llvm/Assembly/PrintModulePass.h:1.12 llvm/include/llvm/Assembly/PrintModulePass.h:1.13
--- llvm/include/llvm/Assembly/PrintModulePass.h:1.12 Thu Sep 19 15:49:25 2002
+++ llvm/include/llvm/Assembly/PrintModulePass.h Tue Sep 30 13:37:41 2003
@@ -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
Index: llvm/include/llvm/Assembly/Writer.h
diff -u llvm/include/llvm/Assembly/Writer.h:1.24 llvm/include/llvm/Assembly/Writer.h:1.25
--- llvm/include/llvm/Assembly/Writer.h:1.24 Wed Jul 10 11:48:14 2002
+++ llvm/include/llvm/Assembly/Writer.h Tue Sep 30 13:37:41 2003
@@ -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,13 +21,11 @@
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
More information about the llvm-commits
mailing list