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

Revert "Reland "[Clang][SemaCXX] Add unused warning for variables declared in condition expressions"" #10

Closed
wants to merge 1 commit into from

Conversation

smeenai
Copy link
Owner

@smeenai smeenai commented Sep 1, 2023

Stack from ghstack (oldest at bottom):

  • (to be filled)

This reverts commit 92023b1.

Further issues were uncovered:

…lared in condition expressions""

This reverts commit 92023b1.

Further issues were uncovered:
- False positive -Wunused-variable on function-static variables with the
  used attribute. ClangBuiltLinux/linux#1926
  A test case needs to be added for this.
- Request for a new flag for these.
  https://reviews.llvm.org/D152495#4628877
  https://reviews.llvm.org/D152495#4628887

[ghstack-poisoned]
@smeenai smeenai closed this Aug 19, 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.

1 participant