Reid Spencer | fb0c0dc | 2006-05-29 00:57:22 +0000 | [diff] [blame] | 1 | //===--- 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> |
| 15 | namespace llvm { |
| 16 | class Module; |
| 17 | void WriteModuleToCppFile(Module* mod, std::ostream& out); |
| 18 | } |