[all-commits] [llvm/llvm-project] a9b305: [NFC][CLANG] Fix static analyzer bugs about large ...
smanna12 via All-commits
all-commits at lists.llvm.org
Tue Dec 12 06:08:08 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a9b30545448695c76ddb25a16fae613d641cfeb7
https://github.com/llvm/llvm-project/commit/a9b30545448695c76ddb25a16fae613d641cfeb7
Author: smanna12 <soumi.manna at intel.com>
Date: 2023-12-12 (Tue, 12 Dec 2023)
Changed paths:
M clang/lib/Analysis/UnsafeBufferUsage.cpp
Log Message:
-----------
[NFC][CLANG] Fix static analyzer bugs about large copy by values (#75060)
Reported by Static Analyzer tool:
In getSourceRangeToTokenEnd(clang::Decl const *, clang::SourceManager
const &, clang::LangOptions): A very large function call parameter
exceeding the high threshold is passed by value
pass_by_value: Passing parameter LangOpts of type clang::LangOptions
(size 1784 bytes) by value, which exceeds the high threshold of 512
bytes
More information about the All-commits
mailing list