diff options
| author | Devang Patel <dpatel@apple.com> | 2009-11-24 19:42:17 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2009-11-24 19:42:17 +0000 |
| commit | c10337d20080fca89c19acd69ae11f4a28e61cc8 (patch) | |
| tree | e93476bcc5dcc6c4e0bb11f8987e8fb1d403e3aa /include/llvm/CodeGen | |
| parent | 815c35cdb070cb876d01f3837f56b4d73b87f036 (diff) | |
| download | external_llvm-c10337d20080fca89c19acd69ae11f4a28e61cc8.zip external_llvm-c10337d20080fca89c19acd69ae11f4a28e61cc8.tar.gz external_llvm-c10337d20080fca89c19acd69ae11f4a28e61cc8.tar.bz2 | |
Use StringRef instead of std::string in DIEString.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89793 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
| -rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 0a4d9bd..9a07e31 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -297,7 +297,7 @@ namespace llvm { /// EmitString - Emit a string with quotes and a null terminator. /// Special characters are emitted properly. /// @verbatim (Eg. '\t') @endverbatim - void EmitString(const std::string &String) const; + void EmitString(const StringRef String) const; void EmitString(const char *String, unsigned Size) const; /// EmitFile - Emit a .file directive. |
