Determines whether an expression may have method or constructor invocations. More...

Public Member Functions | |
| SideEffects (ReferenceMap *refMap, TypeMap *typeMap) | |
| void | postorder (const IR::ConstructorCallExpression *cce) override |
| void | postorder (const IR::MethodCallExpression *mce) override |
Static Public Member Functions | |
| static bool | check (const IR::Expression *expression, const Visitor *calledBy, ReferenceMap *refMap, TypeMap *typeMap) |
| static bool | hasSideEffect (const IR::MethodCallExpression *mce, ReferenceMap *refMap, TypeMap *typeMap) |
Determines whether an expression may have method or constructor invocations.
The TypeMap and ReferenceMap arguments may be null, in which case every method call expression is counted. With type information, invocations of isValid() are ignored.
|
inline |
The @refMap and @typeMap arguments can be null, in which case the check will be more conservative.
|
inlinestatic |
|
inlinestatic |