[clang] [analyzer] Ignore nonstandard function named 'memset' (PR #229119)

Artem Dergachev via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 6 08:01:58 PDT 2026


=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/229119 at github.com>


haoNoQ wrote:

It's still slightly more appealing because it allows `CallDescription` to take full responsibility for confirming that it's the right function. Right now it's too easy to assume in the `evalMemset` code that the function has already been confirmed to be `memset()`. (Just by reading the names of functions and classes.) A clean and intuitive separation of concerns might be a bit better idk.

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


More information about the cfe-commits mailing list