blob: 4fd35db512b070d021fc19cbf76ca057176da59e [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001//===--- CppWriter.h - Generate C++ IR to C++ Source Interface ------------===//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner5f5a5732007-12-29 20:44:31 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Dan Gohmanf17a25c2007-07-18 16:29:46 +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}