[all-commits] [llvm/llvm-project] da6e24: [clang-tidy] Improve `bugprone-capturing-this-in-m...

Baranov Victor via All-commits all-commits at lists.llvm.org
Sun Apr 6 18:58:17 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: da6e2454fff3fbc86861e31b60f18d3467354375
      https://github.com/llvm/llvm-project/commit/da6e2454fff3fbc86861e31b60f18d3467354375
  Author: Baranov Victor <bar.victor.2002 at gmail.com>
  Date:   2025-04-07 (Mon, 07 Apr 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/CapturingThisInMemberVariableCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/CapturingThisInMemberVariableCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/bugprone/capturing-this-in-member-variable.rst
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/capturing-this-in-member-variable.cpp

  Log Message:
  -----------
  [clang-tidy] Improve `bugprone-capturing-this-in-member-variable` check: add support of `bind` functions. (#132635)

Improve `bugprone-capturing-this-in-member-variable` check:
Added support of `bind`-like functions that capture and store `this`
pointer in class member.

Closes https://github.com/llvm/llvm-project/issues/131220.



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