[all-commits] [llvm/llvm-project] 348f9e: [lldb] Fix warning: comparison of unsigned express...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Mar 26 09:14:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 348f9e73d7175f67750dc40b15cf1fc888bf60b5
      https://github.com/llvm/llvm-project/commit/348f9e73d7175f67750dc40b15cf1fc888bf60b5
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-03-26 (Tue, 26 Mar 2024)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp

  Log Message:
  -----------
  [lldb] Fix warning: comparison of unsigned expression in >= 0 is always true

lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp:1195:15: warning:
comparison of unsigned expression in ‘>= 0’ is always true
 1195 |   if (weekday >= 0 && weekday < 7)
      |       ~~~~~~~~^~~~



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