-
Notifications
You must be signed in to change notification settings - Fork 171
Support nullptr testing #1805
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
Support nullptr testing #1805
Changes from all commits
26e4604
d3f3fe4
6a57be0
78b4fca
fe41a7b
1b162b9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -277,6 +277,8 @@ expr | |
| StringOrd(expr arg, ttype type, expr? value) | ||
| StringChr(expr arg, ttype type, expr? value) | ||
|
||
| CPtrCompare(expr left, cmpop op, expr right, ttype type, expr? value) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. C has pointer comparisons for different There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see. We can allow it in ASR, since eventually we want to have a C frontend too. But in LPython I would mainly support |
||
|
||
| DictConstant(expr* keys, expr* values, ttype type) | ||
| DictLen(expr arg, ttype type, expr? value) | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.