[clang-tools-extra] [clang-tidy] Add `bugprone-virtual-arithmetic` check (PR #91951)
via cfe-commits
cfe-commits at lists.llvm.org
Wed May 29 00:26:54 PDT 2024
https://github.com/Discookie commented:
Renamed the check as requested, and fixed what I reasonably could regarding the rest.
Added the check option `MatchInheritedVirtualFunctions` to differentiate between inherited and newly-declared virtual functions. Inherited has many more false positives on the projects I tested.
https://github.com/llvm/llvm-project/pull/91951
More information about the cfe-commits
mailing list