diff options
author | Chris Lattner <sabre@nondot.org> | 2002-08-31 00:28:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-08-31 00:28:25 +0000 |
commit | 8ac883939b80c029852c2b06ddc95a457f9a3e87 (patch) | |
tree | 69cd8c9d1ddce9238900306bcc8d90832f5dbbf9 | |
parent | b7f804c05833f9cf7cc587a7e8c47209503f7617 (diff) | |
download | external_llvm-8ac883939b80c029852c2b06ddc95a457f9a3e87.zip external_llvm-8ac883939b80c029852c2b06ddc95a457f9a3e87.tar.gz external_llvm-8ac883939b80c029852c2b06ddc95a457f9a3e87.tar.bz2 |
Convert cwriter to be a pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3557 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Assembly/CWriter.h | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/include/llvm/Assembly/CWriter.h b/include/llvm/Assembly/CWriter.h index b42e16c..0608870 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 - - - |