blob: f00c6eedb74d4ddbfbaac41b3d141e737c70619e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//===- TableGenBackend.cpp - Base class for TableGen Backends ---*- C++ -*-===//
//
// This file provides useful services for TableGen backends...
//
//===----------------------------------------------------------------------===//
#include "TableGenBackend.h"
#include <iostream>
void TableGenBackend::EmitSourceFileHeader(const std::string &Desc,
std::ostream &OS) {
OS << "//===- TableGen'erated file -------------------------------------*-"
" C++ -*-===//\n//\n// " << Desc << "\n//\n// Automatically generate"
"d file, do not edit!\n//\n//===------------------------------------"
"----------------------------------===//\n\n";
}
|