blob: 4fd35db512b070d021fc19cbf76ca057176da59e [file] [log] [blame]
Reid Spencerfb0c0dc2006-05-29 00:57:22 +00001//===--- CppWriter.h - Generate C++ IR to C++ Source Interface ------------===//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner21c62da2007-12-29 20:44:31 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Reid Spencerfb0c0dc2006-05-29 00:57:22 +00007//
8//===----------------------------------------------------------------------===//
9//
10// This file declares a function, WriteModuleToCppFile that will convert a
11// Module into the corresponding C++ code to construct the same module.
12//
13//===------------------------------------------------------------------------===
14#include <ostream>
15namespace llvm {
16class Module;
17void WriteModuleToCppFile(Module* mod, std::ostream& out);
18}