aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
-
-
-