[clang] [clang/DependencyScanning/ModuleDepCollector] Refactor part of `makeCommonInvocationForModuleBuild` into its own function, NFC (PR #88447)
Jan Svoboda via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 11 15:11:06 PDT 2024
================
@@ -308,6 +308,9 @@ class ModuleDepCollector final : public DependencyCollector {
ModuleDeps &Deps);
};
+/// Resets some options that introduce dependencies unnecessarily.
+void removeUnnecessaryDependencies(CompilerInvocation &CI, bool ForModuleBuild);
----------------
jansvoboda11 wrote:
```suggestion
void removeUnnecessaryFileArguments(CompilerInvocation &CI, bool ForModuleBuild);
```
Dependencies is a bit ambiguous here.
https://github.com/llvm/llvm-project/pull/88447
More information about the cfe-commits
mailing list