[Clang][NFC] Move temp variable back into the source (#137095)
Static analysis flagged this code b/c we are copying the temp variable
back in when we could move it instead.
diff --git a/clang/lib/Serialization/ASTReader.cpp b/clang/lib/Serialization/ASTReader.cpp
index 70b54b7..f13a173 100644
--- a/clang/lib/Serialization/ASTReader.cpp
+++ b/clang/lib/Serialization/ASTReader.cpp
@@ -5980,7 +5980,7 @@
}
}
}
- Stream = SavedStream;
+ Stream = std::move(SavedStream);
}
// Scan for the UNHASHED_CONTROL_BLOCK_ID block.