Skip to content

Remove single iteration loop#3532

Closed
zoddicus wants to merge 1 commit intoKhronosGroup:masterfrom
zoddicus:fixChromiumBuilds
Closed

Remove single iteration loop#3532
zoddicus wants to merge 1 commit intoKhronosGroup:masterfrom
zoddicus:fixChromiumBuilds

Conversation

@zoddicus
Copy link
Copy Markdown
Contributor

This loop is intentionally designed to only ever execute, which is non-obvious
on first glance. Changing the code to be clearer that the entire data structure
isn't being iterated.

This will also fix importing SPIRV-Tools into Chromium, since their style
checkers are failing the build due to this iterate once construct.

This loop is intentionally designed to only ever execute, which is non-obvious
on first glance. Changing the code to be clearer that the entire data structure
isn't being iterated.

This will also fix importing SPIRV-Tools into Chromium, since their style
checkers are failing the build due to this iterate once construct.
@jaebaek
Copy link
Copy Markdown
Contributor

jaebaek commented Jul 14, 2020

LGTM but it seems that #3513 will solve this issue.

@zoddicus
Copy link
Copy Markdown
Contributor Author

Superseded by #3513

@zoddicus zoddicus closed this Jul 14, 2020
@zoddicus zoddicus deleted the fixChromiumBuilds branch July 14, 2020 18:41
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