[all-commits] [llvm/llvm-project] 86cbf3: [JITLink] Add explicit conversion to silence warni...

lhames via All-commits all-commits at lists.llvm.org
Sat Feb 11 13:13:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86cbf3d5f8a208e1129b4d75383ef792f1d8a4aa
      https://github.com/llvm/llvm-project/commit/86cbf3d5f8a208e1129b4d75383ef792f1d8a4aa
  Author: Lang Hames <lhames at gmail.com>
  Date:   2023-02-11 (Sat, 11 Feb 2023)

  Changed paths:
    M llvm/unittests/ExecutionEngine/JITLink/LinkGraphTests.cpp

  Log Message:
  -----------
  [JITLink] Add explicit conversion to silence warnings / errors on bots.

Commit 10b5fec2563 uses a char -1 value, which triggers narrowing conversion
warnings / errors on some platforms (see e.g.
https://lab.llvm.org/buildbot/#/builders/36/builds/30312). Adding an explicit
conversion should fix this.




More information about the All-commits mailing list