mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
18 lines
702 B
C++
18 lines
702 B
C++
|
//===- 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";
|
||
|
}
|
||
|
|