[all-commits] [llvm/llvm-project] d867f6: [clang-tidy] modernize-avoid-bind: Fix handling of...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Sat Nov 11 02:00:47 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d867f668672d634d52eaeae4cdcb7f9740890082
      https://github.com/llvm/llvm-project/commit/d867f668672d634d52eaeae4cdcb7f9740890082
  Author: Joachim Priesner <llvm-project-704996 at jspam.de>
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/AvoidBindCheck.cpp
    M clang-tools-extra/test/clang-tidy/checkers/modernize/avoid-bind.cpp

  Log Message:
  -----------
  [clang-tidy] modernize-avoid-bind: Fix handling of operators

When operators are used explicitly with std::bind
invalid fixes were generated, this change fixes it.

Reviewed By: PiotrZSL

Differential Revision: https://reviews.llvm.org/D125949


  Commit: 9311d12281c33e0ab8fc19ec956bdb7e13e59303
      https://github.com/llvm/llvm-project/commit/9311d12281c33e0ab8fc19ec956bdb7e13e59303
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
    M clang-tools-extra/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [clang-tidy][DOC] Add release notes for modernize-avoid-bind

Add relase notes for change added in D125949.


  Commit: 0e55fef0e98ff5fc6898f3eda43e02143dbe0748
      https://github.com/llvm/llvm-project/commit/0e55fef0e98ff5fc6898f3eda43e02143dbe0748
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
    M clang-tools-extra/clangd/test/diagnostics-tidy.test
    M clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression-warn-on-sizeof-pointer-to-aggregate.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression.cpp

  Log Message:
  -----------
  [clang-tidy] Tweak diag ranges for bugprone-sizeof-expression

Provide more useful warning locations and diagnostic ranges.

Reviewed By: PiotrZSL

Differential Revision: https://reviews.llvm.org/D101617


  Commit: bbb7cb80598de12347204aefa4fe6146512ad4a1
      https://github.com/llvm/llvm-project/commit/bbb7cb80598de12347204aefa4fe6146512ad4a1
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
    M clang-tools-extra/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [clang-tidy][DOC] Add relase notes for bugprone-sizeof-expression

Add relase notes for change added in D101617.


Compare: https://github.com/llvm/llvm-project/compare/5bffdc213fa8...bbb7cb80598d


More information about the All-commits mailing list