[clang] [NFC][CLANG] Fix static analyzer bugs about large copy by values (PR #75060)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 11 12:33:24 PST 2023
================
@@ -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
More information about the cfe-commits
mailing list