2006-05-29 00:57:22 +00:00
|
|
|
//===--- CppWriter.h - Generate C++ IR to C++ Source Interface ------------===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-29 20:44:31 +00:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2006-05-29 00:57:22 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file declares a function, WriteModuleToCppFile that will convert a
|
|
|
|
// Module into the corresponding C++ code to construct the same module.
|
|
|
|
//
|
|
|
|
//===------------------------------------------------------------------------===
|
|
|
|
#include <ostream>
|
|
|
|
namespace llvm {
|
|
|
|
class Module;
|
|
|
|
void WriteModuleToCppFile(Module* mod, std::ostream& out);
|
|
|
|
}
|