HomePhabricator

[clang][deps] NFC: Stop using moved-from object

Authored by jansvoboda11 on Jun 14 2021, 6:08 AM.

Description

[clang][deps] NFC: Stop using moved-from object

The dependency scanning worker uses std::move to "reset" DependencyOutputOptions in the CompilerInstance that performs the implicit build. It's probably preferable to replace the object with value-initialized instance, rather than depending on the behavior of a moved-from object.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D104106

Details