Skip to content

[llvm] Make TestData compatible with c++20 #143801

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 12, 2025

Conversation

ilovepi
Copy link
Contributor

@ilovepi ilovepi commented Jun 11, 2025

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

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
Copy link
Contributor Author

ilovepi commented Jun 11, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link
Member

@evelez7 evelez7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@kadircet
Copy link
Member

can we merge this PR soon? that bot has been red for >20 hours and build failures might hide other issues that accumulate over time.

Copy link
Contributor Author

ilovepi commented Jun 12, 2025

Merge activity

  • Jun 12, 3:21 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jun 12, 3:22 PM UTC: @ilovepi merged this pull request with Graphite.

@ilovepi ilovepi merged commit 2e5fb77 into main Jun 12, 2025
10 of 11 checks passed
@ilovepi ilovepi deleted the users/ilovepi/mustache-spec-cpp20 branch June 12, 2025 15:22
@ilovepi
Copy link
Contributor Author

ilovepi commented Jun 12, 2025

can we merge this PR soon? that bot has been red for >20 hours and build failures might hide other issues that accumulate over time.

Sorry for the delay. one of the test bots failed last night, and I had to re-run it to be sure I wouldn't introduce a new issue.

tomtor pushed a commit to tomtor/llvm-project that referenced this pull request Jun 14, 2025
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
akuhlens pushed a commit to akuhlens/llvm-project that referenced this pull request Jun 24, 2025
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants