Skip to content
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

[TableGen] Make default initialization explicit #75461

Closed
wants to merge 1 commit into from

Conversation

MartinWehking
Copy link
Contributor

@MartinWehking MartinWehking commented Dec 14, 2023

A static analysis tool reported that the emitted 'Features' variable inside emitComputeAvailableFeatures in TableGen might be unitialized.
Silence this warning by adding brackets for the default initialization.
Adapt test cases to take additional brackets into account.

@MartinWehking MartinWehking changed the title Make default initialization explicit [TableGen] Make default initialization explicit Dec 14, 2023
Copy link
Contributor

@pasaulais pasaulais left a comment

Choose a reason for hiding this comment

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

LGTM

@MartinWehking
Copy link
Contributor Author

ping @Paul-C-Anagnostopoulos and @topperc

Coverity (a static analysis tool) reported that the emitted 'Features'
variable inside emitComputeAvailableFeatures in TableGen might be
unitialized.
Silence this warning by adding brackets for the default initialization.
Adapt test cases to take additional brackets into account.
@ldrumm
Copy link
Contributor

ldrumm commented Apr 23, 2024

To github.com:llvm/llvm-project.git
c52b18d..b817451 main -> main

@ldrumm ldrumm closed this Apr 23, 2024
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.

None yet

3 participants