[all-commits] [llvm/llvm-project] d239f3: [clang][deps] Remove unintentional `move`
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Tue Oct 18 16:56:19 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d239f3c627a396a80181806960957d5d0eba7e91
https://github.com/llvm/llvm-project/commit/d239f3c627a396a80181806960957d5d0eba7e91
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
M clang/test/ClangScanDeps/modules-full-by-mod-name.cpp
Log Message:
-----------
[clang][deps] Remove unintentional `move`
This is a fix related to D135414. The original intention was to keep `BaseFS` as a member of the worker and conditionally overlay it with local in-memory FS. The `move` of ref-counted `BaseFS` was not intended, and it's a bug.
Disabling parallelism in the "by-module-name" test reliably reproduces this, and the test itself doesn't *need* parallelism. (I think `-j 4` was cargo culted from another test.) Reusing that test to check for correct behavior...
Reviewed By: DavidSpickett
Differential Revision: https://reviews.llvm.org/D136124
More information about the All-commits
mailing list