[all-commits] [llvm/llvm-project] 2e5fb7: [llvm] Make TestData compatible with c++20 (#143801)

Paul Kirth via All-commits all-commits at lists.llvm.org
Thu Jun 12 08:22:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e5fb77ce03748608cfad49fd62479fc3d912372
      https://github.com/llvm/llvm-project/commit/2e5fb77ce03748608cfad49fd62479fc3d912372
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-06-12 (Thu, 12 Jun 2025)

  Changed paths:
    M llvm/utils/llvm-test-mustache-spec/llvm-test-mustache-spec.cpp

  Log Message:
  -----------
  [llvm] Make TestData compatible with c++20 (#143801)

The clang-debian-cpp20 buildbot did not like direct initialization
without a matching constructor. This patch adds a new constructor taking
a json::Object that directly initializes the struct fields. We also
update an internal interface for const correctness.

https://lab.llvm.org/buildbot/#/builders/108/builds/13950



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