[all-commits] [llvm/llvm-project] 239c8a: [clang-tidy] Fix false positives with deducing thi...

flovent via All-commits all-commits at lists.llvm.org
Sat Jun 7 23:58:46 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 239c8ac2680fd579a09e27eb2c89ba71ae1fce36
      https://github.com/llvm/llvm-project/commit/239c8ac2680fd579a09e27eb2c89ba71ae1fce36
  Author: flovent <flbven at protonmail.com>
  Date:   2025-06-08 (Sun, 08 Jun 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/ConvertMemberFunctionsToStatic.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/test/clang-tidy/checkers/readability/convert-member-functions-to-static-deducing-this.cpp

  Log Message:
  -----------
  [clang-tidy] Fix false positives with deducing this in `readability-convert-member-functions-to-static` check (#141391)

Add check for `DeclRefExpr` which points to an explicit object
parameter.

Fixes #141381.

---------

Co-authored-by: fubowen <fubowen at protomail.com>
Co-authored-by: flovent <flbven at protomail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list