[all-commits] [llvm/llvm-project] 1d0a5f: [Support] Silence warning with Clang ToT.

Alexandre Ganea via All-commits all-commits at lists.llvm.org
Mon Feb 20 15:25:37 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d0a5f11c04e6ac4dab578b81d02eabb83b31428
      https://github.com/llvm/llvm-project/commit/1d0a5f11c04e6ac4dab578b81d02eabb83b31428
  Author: Alexandre Ganea <alex_toresh at yahoo.fr>
  Date:   2023-02-20 (Mon, 20 Feb 2023)

  Changed paths:
    M llvm/lib/Support/Windows/Signals.inc

  Log Message:
  -----------
  [Support] Silence warning with Clang ToT.

This fixes the following warning on Windows with latest Clang:
```
[160/3057] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.obj
In file included from C:/git/llvm-project/llvm/lib/Support/Signals.cpp:260:
C:/git/llvm-project/llvm/lib/Support/Windows/Signals.inc(834,15): warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
  if (RetCode == (0xE0000000 | EX_IOERR))
      ~~~~~~~ ^   ~~~~~~~~~~~~~~~~~~~~~
1 warning generated.```




More information about the All-commits mailing list