[all-commits] [llvm/llvm-project] 0d6c9f: [ArrayRefTest] Use plain array instead of std::arr...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Apr 30 05:48:25 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d6c9f32735a71812208f92eb640ae88a089a930
      https://github.com/llvm/llvm-project/commit/0d6c9f32735a71812208f92eb640ae88a089a930
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-04-30 (Wed, 30 Apr 2025)

  Changed paths:
    M llvm/unittests/ADT/ArrayRefTest.cpp

  Log Message:
  -----------
  [ArrayRefTest] Use plain array instead of std::array in unit tests.

std::array<> doesn't seem to decay to plain pointers on some MSVC
versions, causing windows build failures after 101fd87f98c9.

Use plain arrays to fix windows builds, including
https://lab.llvm.org/buildbot/#/builders/2/builds/22803



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