[clang-tools-extra] [clang-tidy] Fix false positive in cppcoreguidelines-avoid-const-or-ref-data-members when detecting templated classes with inheritance (PR #115180)
Julian Schmidt via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 15 15:14:25 PST 2024
================
@@ -195,6 +195,10 @@ Changes in existing checks
fix false positive that floating point variable is only used in increment
expression.
+- Improved :doc:`cppcoreguidelines-avoid-const-or-ref-data-members
+ <clang-tidy/checks/cppcoreguidelines/avoid-const-or-ref-data-members>` check to
+ avoid false positive when detecting templated class with inheritance.
----------------
5chmidti wrote:
`positives when detecting a`
https://github.com/llvm/llvm-project/pull/115180
More information about the cfe-commits
mailing list