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

Congcong Cai via All-commits all-commits at lists.llvm.org
Sun Jan 12 05:52:35 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: 31b602beadf57764e9138276cfd8b0a187ba9fb7
      https://github.com/llvm/llvm-project/commit/31b602beadf57764e9138276cfd8b0a187ba9fb7
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2025-01-12 (Sun, 12 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