[clang] [clang/DependencyScanning/ModuleDepCollector] Refactor part of `makeCommonInvocationForModuleBuild` into its own function, NFC (PR #88447)

Argyrios Kyrtzidis via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 11 16:43:52 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);
----------------
akyrtzi wrote:

New name in updated commit.

https://github.com/llvm/llvm-project/pull/88447


More information about the cfe-commits mailing list