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

Congcong Cai via All-commits all-commits at lists.llvm.org
Mon Jan 13 14:13:03 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: a7d68830c1ba39b9d914cfc25a1fb0b0532fb4e1
      https://github.com/llvm/llvm-project/commit/a7d68830c1ba39b9d914cfc25a1fb0b0532fb4e1
  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