[all-commits] [llvm/llvm-project] ab0231: [clang-tidy] fix wrong float to float conversion c...

Congcong Cai via All-commits all-commits at lists.llvm.org
Mon Jan 13 14:16:12 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab023199d595187d248abe67aa2fd8635be51fdb
      https://github.com/llvm/llvm-project/commit/ab023199d595187d248abe67aa2fd8635be51fdb
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2025-01-14 (Tue, 14 Jan 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/NarrowingConversionsCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/narrowing-conversions-narrowingfloatingpoint-option.cpp

  Log Message:
  -----------
  [clang-tidy] fix wrong float to float conversion check when floating point type is not standard type (#122637)

compare type kind is the wrong way to compare floating point type compatibility.
more generic compatibility check is needed.



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