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

Congcong Cai via All-commits all-commits at lists.llvm.org
Sun Jan 12 15:54:17 PST 2025


  Branch: refs/heads/users/ccc01-12-_clang-tidy_fix_wrong_float_to_float_conversion_check_when_floating_point_type_is_not_standard_type
  Home:   https://github.com/llvm/llvm-project
  Commit: d138b3de06de410f063319ca08e33087e1bdeeb8
      https://github.com/llvm/llvm-project/commit/d138b3de06de410f063319ca08e33087e1bdeeb8
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2025-01-13 (Mon, 13 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

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