[clang] [libc++] Add assertions for potential OOB reads in std::nth_element (PR #67023)

via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 17 14:43:27 PDT 2023


philnik777 wrote:

You can use `// NOLINT(check-name)` or `// NOLINTNEXTLINE(check-name)` to disable clang-tidy warnings. I would probably put a `// NOLINTNEXTLINE(readability-function-cognitive-complexity)` above the function.

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


More information about the cfe-commits mailing list