[clang] Skip over std namespace in WebKit checkers. (PR #90552)

Artem Dergachev via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 30 18:37:29 PDT 2024


haoNoQ wrote:

Ok am I reading this right: this is about testing code that lives directly in namespace `std::` but somehow still lives in your project right? Such as your custom modifications to standard classes, various overloads and specializations of standard things.

This patch does not affect the behavior of checkers when you're just passing raw pointers from user code to standard functions such as `std::memcpy()`. You still want to have a warning about those.

And generally you already don't have any warnings about things that's going on in system headers themselves. There's a separate suppression about that.

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


More information about the cfe-commits mailing list