[all-commits] [llvm/llvm-project] ec5e58: [NFC] Replace bool <= bool comparison (#102948)

Mital Ashok via All-commits all-commits at lists.llvm.org
Thu Aug 22 08:05:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec5e58519d24010beea937fccf5fc4541db3ec21
      https://github.com/llvm/llvm-project/commit/ec5e58519d24010beea937fccf5fc4541db3ec21
  Author: Mital Ashok <mital at mitalashok.co.uk>
  Date:   2024-08-22 (Thu, 22 Aug 2024)

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

  Log Message:
  -----------
  [NFC] Replace bool <= bool comparison (#102948)

Static analyser tool cppcheck flags ordered comparison with `bool`s.
Replace with equivalent logical operators to prevent this.

Closes #102912



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