[all-commits] [llvm/llvm-project] dee6d1: [llvm] Make TestData compatible with c++20

Paul Kirth via All-commits all-commits at lists.llvm.org
Wed Jun 11 15:58:39 PDT 2025


  Branch: refs/heads/users/ilovepi/mustache-spec-cpp20
  Home:   https://github.com/llvm/llvm-project
  Commit: dee6d1a6442657e0b4066954cb4d634d671a6109
      https://github.com/llvm/llvm-project/commit/dee6d1a6442657e0b4066954cb4d634d671a6109
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-06-11 (Wed, 11 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

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