[all-commits] [llvm/llvm-project] d25e24: [clang-tidy] Suggest using reinterpret_cast in bug...

Carlos Galvez via All-commits all-commits at lists.llvm.org
Wed Sep 4 02:49:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d25e24a0eb909b7604572d28d15cbe648ecccd90
      https://github.com/llvm/llvm-project/commit/d25e24a0eb909b7604572d28d15cbe648ecccd90
  Author: Carlos Galvez <carlosgalvezp at gmail.com>
  Date:   2024-09-04 (Wed, 04 Sep 2024)

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

  Log Message:
  -----------
  [clang-tidy] Suggest using reinterpret_cast in bugprone-casting-thro… (#106784)

…ugh-void

reinterpret_cast is the equivalent construct, and more clearly expresses
intent.

Co-authored-by: Carlos Gálvez <carlos.galvez at zenseact.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