[all-commits] [llvm/llvm-project] 01658b: Fix two MSVC warnings; NFC

Aaron Ballman via All-commits all-commits at lists.llvm.org
Fri Apr 11 05:44:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01658b16661dcff8bc24da7d86cee8df6f0bb4bd
      https://github.com/llvm/llvm-project/commit/01658b16661dcff8bc24da7d86cee8df6f0bb4bd
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2025-04-11 (Fri, 11 Apr 2025)

  Changed paths:
    M clang/lib/Sema/SemaTemplateDeduction.cpp

  Log Message:
  -----------
  Fix two MSVC warnings; NFC

One was "unsafe use of bool" and the other was "sign comparision
mismatch", and both were because we're treating a bool object as if it
were an unsigned int. Add a cast to make that more explicit.



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