[all-commits] [llvm/llvm-project] bc94a9: Silence some sign comparison warnings; NFC

Aaron Ballman via All-commits all-commits at lists.llvm.org
Thu Jan 19 09:27:11 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc94a9b2eceba7effa032a5ce48419da2e69c8e9
      https://github.com/llvm/llvm-project/commit/bc94a9b2eceba7effa032a5ce48419da2e69c8e9
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
    M clang/lib/Basic/Targets/AArch64.cpp

  Log Message:
  -----------
  Silence some sign comparison warnings; NFC

The std::optional implementation in MSVC causes this code to produce a
sign comparison warning. This ensures the types are the same sign.




More information about the All-commits mailing list