-
Notifications
You must be signed in to change notification settings - Fork 274
helper for getting the function type used in function_application_exprt #5737
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
src/util/mathematical_expr.h
Outdated
/// \brief Application of (mathematical) function | ||
class function_application_exprt : public binary_exprt | ||
{ | ||
public: | ||
using argumentst = exprt::operandst; | ||
|
||
/// \a _function must be known to have \ref mathematical_function_typet type. |
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 think we've elsewhere used \p
when referring to parameters.
src/util/mathematical_expr.h
Outdated
@@ -204,6 +207,9 @@ class function_application_exprt : public binary_exprt | |||
return op0(); | |||
} | |||
|
|||
/// the type of the expression returned by \ref function |
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'm not sure we are perfectly consistent about this, but I'd think we use a full sentence here (i.e., uppercase the first word and end with a full stop.).
e943d68
to
da5d07e
Compare
This commit 1) adds a comment to the constructor of function_application_exprt that clarifies the (already existing) requirements on the first argument of the constructor. and 2) adds a helper for obtaining the type of the function that is applied. and 3) uses the helper in goto-symex.
da5d07e
to
25ed1d7
Compare
Codecov Report
@@ Coverage Diff @@
## develop #5737 +/- ##
========================================
Coverage 69.54% 69.54%
========================================
Files 1243 1243
Lines 100700 100702 +2
========================================
+ Hits 70036 70038 +2
Misses 30664 30664
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
The CodeBuild failure is an issue with Maven downloads, which the GitHub actions also temporarily had (but restarting them solved the problem). Thus ignoring and merging. |
This commit
function_application_exprt
thatclarifies the (already existing) requirements on the first argument of the
constructor.
and