[clang] [clang][analyzer] Suppress false positives in std::stable_sort and st… (PR #177804)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 26 04:33:50 PST 2026


steakhal wrote:

There are other FPs coming from std::sort-and-friends, see https://github.com/llvm/llvm-project/issues/78132#issuecomment-2025139780

My idea was to just hard-code this exclusion in the engine CallAndReturn part to never inline any of these.
Later, we could think about a better abstraction to handle this, but should be fine for now by hard coding it.

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


More information about the cfe-commits mailing list