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

[NFC] Apply small clang-tidy fixes #5709

Merged
merged 2 commits into from
Nov 12, 2024
Merged

[NFC] Apply small clang-tidy fixes #5709

merged 2 commits into from
Nov 12, 2024

Conversation

Keenuts
Copy link
Contributor

@Keenuts Keenuts commented Jun 12, 2024

  • const for passed-by-value has no effect on prototypes.
  • transitive includes.
  • dead stores
  • uses after move

Copy link
Collaborator

@dneto0 dneto0 left a comment

Choose a reason for hiding this comment

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

Thanks for moving the ball forward.

test/enum_set_test.cpp Show resolved Hide resolved
source/val/validate_memory.cpp Outdated Show resolved Hide resolved
@Keenuts
Copy link
Contributor Author

Keenuts commented Jun 25, 2024

rebased on main

@Keenuts Keenuts requested a review from dneto0 July 11, 2024 14:12
dneto0
dneto0 previously requested changes Oct 8, 2024
Copy link
Collaborator

@dneto0 dneto0 left a comment

Choose a reason for hiding this comment

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

Just one thing remaining: please put the test back.

test/enum_set_test.cpp Show resolved Hide resolved
- const for passed-by-value has no effect on prototypes.
- transitive includes.
- dead stores
- uses after move

Signed-off-by: Nathan Gauër <[email protected]>
Signed-off-by: Nathan Gauër <[email protected]>
@s-perron s-perron dismissed dneto0’s stale review November 12, 2024 16:35

The test was put back in, so David's concern's were addressed.

@s-perron s-perron enabled auto-merge (squash) November 12, 2024 16:35
@s-perron s-perron merged commit 692529b into KhronosGroup:main Nov 12, 2024
22 checks passed
@sandratowry6
Copy link

I don't know how this work yet am new.

mmoult pushed a commit to mmoult/SPIRV-Tools that referenced this pull request Nov 16, 2024
* [NFC] Apply small clang-tidy fixes

- const for passed-by-value has no effect on prototypes.
- transitive includes.
- dead stores
- uses after move

Signed-off-by: Nathan Gauër <[email protected]>

* pr-feedback

Signed-off-by: Nathan Gauër <[email protected]>

---------

Signed-off-by: Nathan Gauër <[email protected]>
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.

5 participants