[all-commits] [llvm/llvm-project] 6f959a: [lldb] uint8_t -> unsigned short in std::independe...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Apr 2 09:24:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f959a46c0225b99b1d4342eb01999f6cf2961b8
      https://github.com/llvm/llvm-project/commit/6f959a46c0225b99b1d4342eb01999f6cf2961b8
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2025-04-02 (Wed, 02 Apr 2025)

  Changed paths:
    M lldb/source/Utility/UUID.cpp

  Log Message:
  -----------
  [lldb] uint8_t -> unsigned short in std::independent_bits_engine

According to [1], the template parameter must be cv-unqualified and one
of unsigned short, unsigned int, unsigned long, or unsigned long long.

Should fix the following MSVC error:

  error: static assertion failed due to requirement
  '_Is_any_of_v<unsigned char, unsigned short, unsigned int, unsigned
  long, unsigned long long>': invalid template argument for
  independent_bits_engine: N4659

[1] https://en.cppreference.com/w/cpp/numeric/random/independent_bits_engine



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