blob: 16ba30e5bfc9fc7b994df819885e0d6ca681b369 [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//
5// This file was developed by Reid Spencer and is distributed under the
6// University of Illinois Open Source License. See LICENSE.TXT for details.
7//
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}