-
Notifications
You must be signed in to change notification settings - Fork 731
Fix missing enum values in switch statements #15515
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15515
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ⏳ No Failures, 70 PendingAs of commit 4c2164c with merge base 73b6918 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@NSProgrammer has exported this pull request. If you are a Meta employee, you can view the originating Diff in D85956878. |
|
@pytorchbot label "release notes: none" |
8cc59c4 to
47e1668
Compare
Summary: `-Wswitch-enum` was introduced in 2024 and is beneficial because it will err when switch statement is missing a case for an enum, even with `default:` present. This helps alert developers when they add an enum value of all the switch statements that need updating. These diffs are to help progress the codebase so that we can enable `-Wswitch-enum` by default in `fbobjc` Differential Revision: D85956878
47e1668 to
b614817
Compare
) Summary: `-Wswitch-enum` was introduced in 2024 and is beneficial because it will err when switch statement is missing a case for an enum, even with `default:` present. This helps alert developers when they add an enum value of all the switch statements that need updating. These diffs are to help progress the codebase so that we can enable `-Wswitch-enum` by default in `fbobjc` Differential Revision: D85956878
) Summary: `-Wswitch-enum` was introduced in 2024 and is beneficial because it will err when switch statement is missing a case for an enum, even with `default:` present. This helps alert developers when they add an enum value of all the switch statements that need updating. These diffs are to help progress the codebase so that we can enable `-Wswitch-enum` by default in `fbobjc` Differential Revision: D85956878
b614817 to
1fadfda
Compare
) Summary: `-Wswitch-enum` was introduced in 2024 and is beneficial because it will err when switch statement is missing a case for an enum, even with `default:` present. This helps alert developers when they add an enum value of all the switch statements that need updating. These diffs are to help progress the codebase so that we can enable `-Wswitch-enum` by default in `fbobjc` Differential Revision: D85956878
1fadfda to
92b289b
Compare
) Summary: `-Wswitch-enum` was introduced in 2024 and is beneficial because it will err when switch statement is missing a case for an enum, even with `default:` present. This helps alert developers when they add an enum value of all the switch statements that need updating. These diffs are to help progress the codebase so that we can enable `-Wswitch-enum` by default in `fbobjc` Reviewed By: shoumikhin Differential Revision: D85956878
92b289b to
f5b98bf
Compare
) Summary: `-Wswitch-enum` was introduced in 2024 and is beneficial because it will err when switch statement is missing a case for an enum, even with `default:` present. This helps alert developers when they add an enum value of all the switch statements that need updating. These diffs are to help progress the codebase so that we can enable `-Wswitch-enum` by default in `fbobjc` Reviewed By: shoumikhin Differential Revision: D85956878
f5b98bf to
02ca6ac
Compare
) Summary: `-Wswitch-enum` was introduced in 2024 and is beneficial because it will err when switch statement is missing a case for an enum, even with `default:` present. This helps alert developers when they add an enum value of all the switch statements that need updating. These diffs are to help progress the codebase so that we can enable `-Wswitch-enum` by default in `fbobjc` Reviewed By: shoumikhin Differential Revision: D85956878
02ca6ac to
224cfad
Compare
) Summary: `-Wswitch-enum` was introduced in 2024 and is beneficial because it will err when switch statement is missing a case for an enum, even with `default:` present. This helps alert developers when they add an enum value of all the switch statements that need updating. These diffs are to help progress the codebase so that we can enable `-Wswitch-enum` by default in `fbobjc` Reviewed By: shoumikhin Differential Revision: D85956878
224cfad to
d5b7f40
Compare
) Summary: `-Wswitch-enum` was introduced in 2024 and is beneficial because it will err when switch statement is missing a case for an enum, even with `default:` present. This helps alert developers when they add an enum value of all the switch statements that need updating. These diffs are to help progress the codebase so that we can enable `-Wswitch-enum` by default in `fbobjc` Reviewed By: shoumikhin Differential Revision: D85956878
d5b7f40 to
ddd955f
Compare
) Summary: `-Wswitch-enum` was introduced in 2024 and is beneficial because it will err when switch statement is missing a case for an enum, even with `default:` present. This helps alert developers when they add an enum value of all the switch statements that need updating. These diffs are to help progress the codebase so that we can enable `-Wswitch-enum` by default in `fbobjc` Reviewed By: shoumikhin Differential Revision: D85956878
ddd955f to
475c363
Compare
) Summary: `-Wswitch-enum` was introduced in 2024 and is beneficial because it will err when switch statement is missing a case for an enum, even with `default:` present. This helps alert developers when they add an enum value of all the switch statements that need updating. These diffs are to help progress the codebase so that we can enable `-Wswitch-enum` by default in `fbobjc` Reviewed By: shoumikhin Differential Revision: D85956878
475c363 to
bad291a
Compare
) Summary: `-Wswitch-enum` was introduced in 2024 and is beneficial because it will err when switch statement is missing a case for an enum, even with `default:` present. This helps alert developers when they add an enum value of all the switch statements that need updating. These diffs are to help progress the codebase so that we can enable `-Wswitch-enum` by default in `fbobjc` Reviewed By: shoumikhin Differential Revision: D85956878
bad291a to
2c7492e
Compare
Differential Revision: D85956878 Pull Request resolved: pytorch#15515
Summary:
-Wswitch-enumwas introduced in 2024 and is beneficial because it will err when switch statement is missing a case for an enum, even withdefault:present. This helps alert developers when they add an enum value of all the switch statements that need updating.These diffs are to help progress the codebase so that we can enable
-Wswitch-enumby default infbobjcDifferential Revision: D85956878