diff options
author | Ahmed Charles <ace2001ac@gmail.com> | 2012-02-19 11:35:20 +0000 |
---|---|---|
committer | Ahmed Charles <ace2001ac@gmail.com> | 2012-02-19 11:35:20 +0000 |
commit | d7ace3f8d1b7216d7381c408b26259e1201f7c29 (patch) | |
tree | 8345c630f77baa7aa85baae5a0eced114cb99048 /lib/TableGen | |
parent | 1bf724b28b7a44d5323f9e42718192987c75ce79 (diff) | |
download | external_llvm-d7ace3f8d1b7216d7381c408b26259e1201f7c29.zip external_llvm-d7ace3f8d1b7216d7381c408b26259e1201f7c29.tar.gz external_llvm-d7ace3f8d1b7216d7381c408b26259e1201f7c29.tar.bz2 |
StringRef'ize EmitSourceFileHeader().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150917 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/TableGen')
-rw-r--r-- | lib/TableGen/TableGenBackend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/TableGen/TableGenBackend.cpp b/lib/TableGen/TableGenBackend.cpp index 328d9a4..09bcc7a 100644 --- a/lib/TableGen/TableGenBackend.cpp +++ b/lib/TableGen/TableGenBackend.cpp @@ -17,7 +17,7 @@ using namespace llvm; void TableGenBackend::anchor() { } -void TableGenBackend::EmitSourceFileHeader(const std::string &Desc, +void TableGenBackend::EmitSourceFileHeader(StringRef Desc, raw_ostream &OS) const { OS << "//===- TableGen'erated file -------------------------------------*-" " C++ -*-===//\n//\n// " << Desc << "\n//\n// Automatically generate" |