projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use (actions) instead of option properties, support external options.
[oota-llvm.git]
/
utils
/
TableGen
/
TableGenBackend.cpp
diff --git
a/utils/TableGen/TableGenBackend.cpp
b/utils/TableGen/TableGenBackend.cpp
index f00c6eedb74d4ddbfbaac41b3d141e737c70619e..87a1b3da11969720a5a4923a95d660cdb8066242 100644
(file)
--- a/
utils/TableGen/TableGenBackend.cpp
+++ b/
utils/TableGen/TableGenBackend.cpp
@@
-1,14
+1,22
@@
//===- TableGenBackend.cpp - Base class for TableGen Backends ---*- C++ -*-===//
//
//===- TableGenBackend.cpp - Base class for TableGen Backends ---*- C++ -*-===//
//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
// This file provides useful services for TableGen backends...
//
//===----------------------------------------------------------------------===//
#include "TableGenBackend.h"
// This file provides useful services for TableGen backends...
//
//===----------------------------------------------------------------------===//
#include "TableGenBackend.h"
-#include <iostream>
+#include "Record.h"
+using namespace llvm;
void TableGenBackend::EmitSourceFileHeader(const std::string &Desc,
void TableGenBackend::EmitSourceFileHeader(const std::string &Desc,
- std::ostream &OS) {
+ std::ostream &OS)
const
{
OS << "//===- TableGen'erated file -------------------------------------*-"
" C++ -*-===//\n//\n// " << Desc << "\n//\n// Automatically generate"
"d file, do not edit!\n//\n//===------------------------------------"
OS << "//===- TableGen'erated file -------------------------------------*-"
" C++ -*-===//\n//\n// " << Desc << "\n//\n// Automatically generate"
"d file, do not edit!\n//\n//===------------------------------------"