diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-08-30 16:48:02 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-08-30 16:48:02 +0000 |
commit | 6dc4a8bc2c307022e0c330d531109d325fc044cf (patch) | |
tree | d10033092d22061f48f763822a09018fce5de6eb /llvm/lib/CodeGen/AsmPrinter/DIE.h | |
parent | e98cdf9b773f7bce3531345cfda1fa1eedf2fca7 (diff) | |
download | bcm5719-llvm-6dc4a8bc2c307022e0c330d531109d325fc044cf.tar.gz bcm5719-llvm-6dc4a8bc2c307022e0c330d531109d325fc044cf.zip |
Fix some cases where StringRef was being passed by const reference. Remove const from some other StringRefs since its implicitly const already.
llvm-svn: 216820
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DIE.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DIE.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIE.h b/llvm/lib/CodeGen/AsmPrinter/DIE.h index e75829e22c5..e310aef3dcb 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DIE.h +++ b/llvm/lib/CodeGen/AsmPrinter/DIE.h @@ -381,10 +381,10 @@ public: /// class DIEString : public DIEValue { const DIEValue *Access; - const StringRef Str; + StringRef Str; public: - DIEString(const DIEValue *Acc, const StringRef S) + DIEString(const DIEValue *Acc, StringRef S) : DIEValue(isString), Access(Acc), Str(S) {} /// getString - Grab the string out of the object. |