[clang-tools-extra] [clang-tidy] Overloaded Unresolved member function call can't be static (PR #191432)

Gaurav Dhingra via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 22 03:10:09 PDT 2026


================
@@ -476,9 +476,13 @@ Changes in existing checks
     ``empty`` function.
 
 - Improved :doc:`readability-convert-member-functions-to-static
-  <clang-tidy/checks/readability/convert-member-functions-to-static>` check by
-  avoiding false positive on ``const`` member functions to static when they are
-  a part of const/non-const overload pair.
+  <clang-tidy/checks/readability/convert-member-functions-to-static>` check:
+
+  - Fixing a false positive where ``const`` member functions were incorrectly
+    flagged when they are part of a const/non-const overload pair.
+
+  - Correctly detecting ``this`` usage when a generic lambda calls an overloaded
+    member function.
----------------
gxyd wrote:

I rewrote the Release Notes entry using Claude AI to help with grammar here, and I've read that technically the changes make sense.

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


More information about the cfe-commits mailing list