diff options
Diffstat (limited to 'llvm/lib/Support/JSON.cpp')
-rw-r--r-- | llvm/lib/Support/JSON.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/JSON.cpp b/llvm/lib/Support/JSON.cpp index 16b1d11..d44eafa 100644 --- a/llvm/lib/Support/JSON.cpp +++ b/llvm/lib/Support/JSON.cpp @@ -513,7 +513,7 @@ Expected<Value> parse(StringRef JSON) { if (P.checkUTF8()) if (P.parseValue(E)) if (P.assertEnd()) - return std::move(E); + return E; return P.takeError(); } char ParseError::ID = 0; |