llvm::emitSourceFileHeader

Output an LLVM style file header to the specified raw_ostream.

Synopsis

Declared in <llvm/TableGen/TableGenBackend.h>

void
emitSourceFileHeader(
    StringRef Desc,
    raw_ostream& OS,
    RecordKeeper const& Record = RecordKeeper());

Parameters

NameDescription
DescDescription written into the header banner.
OSStream that receives the header.
RecordRecord keeper whose input filename is noted when set.