mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-12 15:30:56 +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";
|
||
|
}
|
||
|
|