From 1c2241a7936bf85aa68aef94bd40c3ba77d8ddf2 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 10 Feb 2020 05:18:09 -0800 Subject: Remove redundant "std::move"s in return statements --- llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp') diff --git a/llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp b/llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp index 6334274..4ad0bb5 100644 --- a/llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp +++ b/llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp @@ -37,7 +37,7 @@ DebugStringTableSubsectionRef::getString(uint32_t Offset) const { Reader.setOffset(Offset); StringRef Result; if (auto EC = Reader.readCString(Result)) - return std::move(EC); + return EC; return Result; } -- cgit v1.1