blob: d226f1f1af7b406bb3d3b72c760867c54e67410a [file] [log] [blame]
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01001//===- llvm/TableGen/TableGenBackend.h - Backend utilities ------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// Useful utilities for TableGen backends.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_TABLEGEN_TABLEGENBACKEND_H
15#define LLVM_TABLEGEN_TABLEGENBACKEND_H
16
17namespace llvm {
18
19class StringRef;
20class raw_ostream;
21
22/// emitSourceFileHeader - Output an LLVM style file header to the specified
23/// raw_ostream.
24void emitSourceFileHeader(StringRef Desc, raw_ostream &OS);
25
26} // End llvm namespace
27
28#endif