-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Quick fix for functions lacking return expressions #26434
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
3f59aa9
stash
Kingwl 7671221
add surmise for return type
Kingwl 0b1e6cc
add support for more case
Kingwl 1f9b9c0
add more test case
Kingwl aca1722
add more testcase and fix all test
Kingwl 7cfd0fb
Merge branch 'master' into returnValueSurmise
Kingwl cbe59bb
fix changed diagnosis
Kingwl 48f1cca
Merge branch 'master' into returnValueSurmise
Kingwl 98d7eba
fix broken test case
Kingwl 537e806
add more case
Kingwl 505e299
Merge branch 'master' into returnValueSurmise
Kingwl 6fecf32
rename quickfix
Kingwl 4c0af72
fix conflict
Kingwl 98377f3
fix fix desc
Kingwl 49d21bf
fix semi
Kingwl a2b15ed
Merge branch 'master' into returnValueSurmise
Kingwl eabc5a4
Merge branch 'master' into returnValueSurmise
Kingwl 944ddf4
Avoid replace brace with paren
Kingwl 6c88a01
Split fix all action
Kingwl 94f845a
Add return work in same line
Kingwl a7f37a3
Merge branch 'master' into returnValueSurmise
Kingwl 7fe9a82
fix test cases
Kingwl af9552e
rename baseline
Kingwl 601fc5e
refactor and handle comment
Kingwl 175cf4e
Support semi
Kingwl 8b332fe
Merge branch 'master' into returnValueSurmise
Kingwl 5d8355c
make helper internal
Kingwl 522cac8
Merge branch 'master' into returnValueSurmise
Kingwl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Merge branch 'master' into returnValueSurmise
- Loading branch information
commit 7cfd0fb1db39e0ac93431abdd1fbfcddd52f18c3
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You are viewing a condensed version of this merge commit. You can view the full changes here.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've got to admit: I don't know what the word surmise means, and I don't know if users will either. What's the intent here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Correct all return expressions"
would be best here"surmise" is not in basic English vocabulary and we need to avoid it entirely for clarity's sake.