1 //===--- CppWriter.h - Generate C++ IR to C++ Source Interface ------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // 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);