summaryrefslogtreecommitdiff
path: root/tools/llvm2cpp/CppWriter.h
blob: 16ba30e5bfc9fc7b994df819885e0d6ca681b369 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//===--- CppWriter.h - Generate C++ IR to C++ Source Interface ------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file was developed by Reid Spencer and is distributed under the
// University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// 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);
}