[all-commits] [llvm/llvm-project] 889e60: [clang-tidy] Ignore casts from void to void in bug...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Wed May 1 19:43:04 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 889e60db2daf93c0bb3f7ae0db0a60bfefb86d89
      https://github.com/llvm/llvm-project/commit/889e60db2daf93c0bb3f7ae0db0a60bfefb86d89
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2024-05-02 (Thu, 02 May 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/CastingThroughVoidCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/casting-through-void.cpp

  Log Message:
  -----------
  [clang-tidy] Ignore casts from void to void in bugprone-casting-through-void (#90566)

Improved bugprone-casting-through-void check by ignoring casts where
source is already a void pointer, making middle void pointer casts
bug-free.

Closes #87069



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