[PATCH] D127243: [clang][deps] Make order of module dependencies deterministic
Jan Svoboda via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 8 01:02:48 PDT 2022
jansvoboda11 added inline comments.
================
Comment at: clang/lib/Tooling/DependencyScanning/DependencyScanningTool.cpp:181
std::vector<PrebuiltModuleDep> PrebuiltModuleDeps;
- std::map<std::string, ModuleDeps> ClangModuleDeps;
+ llvm::MapVector<std::string, std::unique_ptr<ModuleDeps>,
+ llvm::StringMap<unsigned>>
----------------
What's the reason for wrapping `ModuleDeps` in `unique_ptr`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127243/new/
https://reviews.llvm.org/D127243
More information about the cfe-commits
mailing list