[clang] [NFC][CLANG] Fix static analyzer bugs about large copy by values (PR #75060)
Gábor Horváth via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 11 10:26:09 PST 2023
================
@@ -110,7 +110,7 @@ void ModuleDepCollector::addOutputPaths(CowCompilerInvocation &CI,
}
static CowCompilerInvocation
-makeCommonInvocationForModuleBuild(CompilerInvocation CI) {
+makeCommonInvocationForModuleBuild(const CompilerInvocation &CI) {
----------------
Xazax-hun wrote:
This does not compile, `CI` is mutated in this function.
https://github.com/llvm/llvm-project/pull/75060
More information about the cfe-commits
mailing list