-
Notifications
You must be signed in to change notification settings - Fork 1
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
Format improvements (WIP) #63
Draft
zero318
wants to merge
18
commits into
ExpHP:main
Choose a base branch
from
zero318:format_improvements_test
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,998
−630
Draft
Changes from 16 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
2ed6200
Add initial imm attribute support
zero318 a8b2ad4
Improve unsigned/hex support and update padding
zero318 e66c92d
Several suggested changes
zero318 f3de737
Change _ back to 4 bytes and add - for single bytes
zero318 b1eae57
add 'p' abi format
ExpHP 96c1d4c
First batch of updated signatures
zero318 7fe31f4
Second batch of updated signatures
zero318 4d089ac
Add scratch registers for IN-StB and fix size arg sign
zero318 9605ae3
Third batch of updated signatures
zero318 5ff6724
Fourth batch of updated signatures
zero318 b3e8508
please let the merge work
zero318 b70b2ed
Fifth batch of updated signatures
zero318 17ce209
Sixth batch of updated signatures
zero318 92292d5
Seventh batch of updated signatures
zero318 3d32e3b
Eigth batch of updated signatures
zero318 88e5a47
Ninth batch of updated signatures and a few misc fixes
zero318 26f14dc
e
zero318 6e5e625
Fixed roundtrip problems
zero318 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
There are no files selected for viewing
This file contains 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 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 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
Oops, something went wrong.
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.
Might prefer
signed
rather thanunsigned
to avoid double negativesThere 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 went with
unsigned
since it's more of an exception to the norm than anything. I tend to structure my bools withtrue
as the "do something different" value so that they don't need to be negated whenever being read, but I guess that doesn't matter as much withmatch
since you have to be explicit in both cases.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.
true
as "do something different" makes sense in C-likes where it's easy to zero-initialize things. It doesn't make so much sense in rust.