Don't keep the log files around. Just pipe to a log file instead.
[oota-llvm.git] / utils / TableGen / LLVMCConfigurationEmitter.h
1 //===- LLVMCConfigurationEmitter.cpp - Generate LLVMCC config ---*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open
6 // Source License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This tablegen backend is responsible for emitting LLVMCC configuration code.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef LLVM_UTILS_TABLEGEN_LLVMCCONF_EMITTER_H
15 #define LLVM_UTILS_TABLEGEN_LLVMCCONF_EMITTER_H
16
17 #include "TableGenBackend.h"
18
19 namespace llvm {
20
21   /// LLVMCConfigurationEmitter - TableGen backend that generates
22   /// configuration code for LLVMC.
23   class LLVMCConfigurationEmitter : public TableGenBackend {
24     RecordKeeper &Records;
25   public:
26     explicit LLVMCConfigurationEmitter(RecordKeeper &records) : 
27       Records(records) {}
28
29     // run - Output the asmwriter, returning true on failure.
30     void run(raw_ostream &o);
31   };
32 }
33
34 #endif //LLVM_UTILS_TABLEGEN_LLVMCCONF_EMITTER_H