1 //===--- CppWriter.h - Generate C++ IR to C++ Source Interface ------------===//
3 // The LLVM Compiler Infrastructure
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.
8 //===----------------------------------------------------------------------===//
10 // This file declares a function, WriteModuleToCppFile that will convert a
11 // Module into the corresponding C++ code to construct the same module.
13 //===------------------------------------------------------------------------===
17 void WriteModuleToCppFile(Module
* mod
, std::ostream
& out
);