================
@@ -110,7 +110,7 @@ void 
ModuleDepCollector::addOutputPaths(CowCompilerInvocation &CI,
 }
 
 static CowCompilerInvocation
-makeCommonInvocationForModuleBuild(CompilerInvocation CI) {
+makeCommonInvocationForModuleBuild(const CompilerInvocation &CI) {
----------------
smanna12 wrote:



>>This does not compile, CI is mutated in this function.
Yes, i missed that. Thank you @Xazax-hun for reviews. 

I have updated patch.

https://github.com/llvm/llvm-project/pull/75060
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to