[all-commits] [llvm/llvm-project] af82e6: [ADT] DenseMapInfo<unsigned long>::getHashValue - ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Jun 20 05:26:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af82e63c28f67bf61a9b2b0e64bc55be4acf520e
      https://github.com/llvm/llvm-project/commit/af82e63c28f67bf61a9b2b0e64bc55be4acf520e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-20 (Thu, 20 Jun 2024)

  Changed paths:
    M llvm/include/llvm/ADT/DenseMapInfo.h

  Log Message:
  -----------
  [ADT] DenseMapInfo<unsigned long>::getHashValue - avoid MSVC out of bounds shift warning (#96173)

Fixes MSVC warning after #95734 - despite it taking the `sizeof(Val) == 4` path, it still warns that the 32-bit unsigned long shift by 32 is out of bounds.



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