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/tools/llvm-cfi-verify | |
parent | a67db83681f3dfe2950ad8d2b2addb5d6f175ad3 (diff) | |
download | llvm-1c2241a7936bf85aa68aef94bd40c3ba77d8ddf2.zip llvm-1c2241a7936bf85aa68aef94bd40c3ba77d8ddf2.tar.gz llvm-1c2241a7936bf85aa68aef94bd40c3ba77d8ddf2.tar.bz2 |
Remove redundant "std::move"s in return statements
Diffstat (limited to 'llvm/tools/llvm-cfi-verify')
-rw-r--r-- | llvm/tools/llvm-cfi-verify/lib/FileAnalysis.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.cpp b/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.cpp index d2b4db3b5..8b0d257 100644 --- a/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.cpp +++ b/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.cpp @@ -100,15 +100,15 @@ Expected<FileAnalysis> FileAnalysis::Create(StringRef Filename) { // Init the rest of the object. if (auto InitResponse = Analysis.initialiseDisassemblyMembers()) - return std::move(InitResponse); + return InitResponse; if (auto SectionParseResponse = Analysis.parseCodeSections()) - return std::move(SectionParseResponse); + return SectionParseResponse; if (auto SymbolTableParseResponse = Analysis.parseSymbolTable()) - return std::move(SymbolTableParseResponse); + return SymbolTableParseResponse; - return std::move(Analysis); + return Analysis; } FileAnalysis::FileAnalysis(object::OwningBinary<object::Binary> Binary) |