Skip to content

Conversation

frederick-vs-ja
Copy link
Contributor

Under some options used by LLVM Buildbot, an uninitialized variable (recently added to the test suite) caused constant evaluation failure, despite the type of that variable is an empty class.

This PR explicitly initializes the variables with {} to fix the error. Follows-up #160804.

Under some options used by LLVM Buildbot, an uninitialized variable (recently added to the test suite) caused constant evaluation failure, despite the type of that variable is an empty class.

This PR explicitly initializes the variables with `{}` to fix the error.
Copy link
Contributor

@jplehr jplehr left a comment

Choose a reason for hiding this comment

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

lgtm

@frederick-vs-ja frederick-vs-ja merged commit 99f296d into llvm:main Sep 29, 2025
12 checks passed
@frederick-vs-ja frederick-vs-ja deleted the codegen-test-init-ftor branch September 29, 2025 13:01
mahesh-attarde pushed a commit to mahesh-attarde/llvm-project that referenced this pull request Oct 3, 2025
…lvm#161085)

Under some options used by LLVM Buildbot, an uninitialized variable
(recently added to the test suite) caused constant evaluation failure,
despite the type of that variable is an empty class.

This PR explicitly initializes the variables with `{}` to fix the error.
Follows-up a558d65.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants