[clang-tools-extra] [clang-tidy] Fix false negative in performance-inefficient-vector-ope… (PR #179484)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 4 23:44:09 PST 2026


https://github.com/vbvictor requested changes to this pull request.

This PR is violation of https://llvm.org/docs/AIToolPolicy.html with no human in the loop.
Please verify everything that AI tells. There are a lot of current tests broken, please try running `ninja check-clang-toools`.

------------------------------------------

Simply removing `statementCountIs(1)` without futher adjustments is not the right approach.

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


More information about the cfe-commits mailing list