[clang] [clang][deps] Store common, partially-formed invocation (PR #65677)

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 7 15:01:36 PDT 2023


================
@@ -279,13 +281,16 @@ class ModuleDepCollector final : public DependencyCollector {
   /// Add module files (pcm) to the invocation, if needed.
   void addModuleFiles(CompilerInvocation &CI,
                       ArrayRef<ModuleID> ClangModuleDeps) const;
+  void addModuleFiles(CowCompilerInvocation &CI,
----------------
jansvoboda11 wrote:

That's used from `ModuleDepCollector::applyDiscoveredDependencies()` on the `-cc1` invocations expanded from the TU driver invocation.

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


More information about the cfe-commits mailing list