summaryrefslogtreecommitdiff
path: root/include/llvm/Assembly
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-31 00:28:25 +0000
committerChris Lattner <sabre@nondot.org>2002-08-31 00:28:25 +0000
commit8ac883939b80c029852c2b06ddc95a457f9a3e87 (patch)
tree69cd8c9d1ddce9238900306bcc8d90832f5dbbf9 /include/llvm/Assembly
parentb7f804c05833f9cf7cc587a7e8c47209503f7617 (diff)
downloadllvm-8ac883939b80c029852c2b06ddc95a457f9a3e87.tar.gz
llvm-8ac883939b80c029852c2b06ddc95a457f9a3e87.tar.bz2
llvm-8ac883939b80c029852c2b06ddc95a457f9a3e87.tar.xz
Convert cwriter to be a pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3557 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Assembly')
-rw-r--r--include/llvm/Assembly/CWriter.h20
1 files changed, 7 insertions, 13 deletions
diff --git a/include/llvm/Assembly/CWriter.h b/include/llvm/Assembly/CWriter.h
index b42e16c196..0608870f47 100644
--- a/include/llvm/Assembly/CWriter.h
+++ b/include/llvm/Assembly/CWriter.h
@@ -1,21 +1,15 @@
-//===-- llvm/CGen/Writer.h - Printer for VM assembly files -------*- C++ -*--=//
-//
-// This functionality is implemented by the lib/CWriter library.
-// This library is used to print C language files to an iostream.
+//===-- 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.
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_C_WRITER_H
-#define LLVM_C_WRITER_H
-
-class Module;
+#ifndef LLVM_ASSEMBLY_CWRITER_H
+#define LLVM_ASSEMBLY_CWRITER_H
#include <iosfwd>
-
-void WriteToC(const Module *Module, std::ostream &o);
+class Pass;
+Pass *createWriteToCPass(std::ostream &o);
#endif
-
-
-