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 | e9a059714e3dccd6c870f19c3839f3352ac823ed (patch) | |
tree | e93476bcc5dcc6c4e0bb11f8987e8fb1d403e3aa /lib/CodeGen/AsmPrinter/DIE.h | |
parent | f5a7a2c84a1951151fee4e7e34d1d94ef0c31fa8 (diff) |
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 'lib/CodeGen/AsmPrinter/DIE.h')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DIE.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DIE.h b/lib/CodeGen/AsmPrinter/DIE.h index d073da7d1b..dc6a70a6bd 100644 --- a/lib/CodeGen/AsmPrinter/DIE.h +++ b/lib/CodeGen/AsmPrinter/DIE.h @@ -277,9 +277,9 @@ namespace llvm { /// DIEString - A string value DIE. /// class DIEString : public DIEValue { - const std::string Str; + const StringRef Str; public: - explicit DIEString(const std::string &S) : DIEValue(isString), Str(S) {} + explicit DIEString(const StringRef S) : DIEValue(isString), Str(S) {} /// EmitValue - Emit string value. /// |