diff options
| author | Bill Wendling <isanbard@gmail.com> | 2020-02-10 05:18:09 -0800 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2020-02-10 06:39:44 -0800 |
| commit | 1c2241a7936bf85aa68aef94bd40c3ba77d8ddf2 (patch) | |
| tree | 0c9ba27cfe58de2aedf223cced3864d1d2e92fef /llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp | |
| parent | a67db83681f3dfe2950ad8d2b2addb5d6f175ad3 (diff) | |
Remove redundant "std::move"s in return statements
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp')
| -rw-r--r-- | llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp b/llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp index 63342749918d..4ad0bb566bc3 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; } |
