Changeset df6cc9d for src/InitTweak/InitTweak.h
- Timestamp:
- Oct 19, 2022, 4:43:26 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 1a45263
- Parents:
- 9cd5bd2 (diff), 135143ba (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/InitTweak.h
r9cd5bd2 rdf6cc9d 10 10 // Created On : Fri May 13 11:26:36 2016 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Mon Dec 6 13:20:00 202113 // Update Count : 812 // Last Modified On : Wed Sep 22 9:21:00 2022 13 // Update Count : 9 14 14 // 15 15 … … 74 74 DeclarationWithType * getFunction( Expression * expr ); 75 75 const DeclarationWithType * getFunction( const Expression * expr ); 76 const ast::DeclWithType * getFunction( const ast::Expr * expr );77 76 78 77 /// Non-Null if expr is a call expression whose target function is intrinsic 79 78 ApplicationExpr * isIntrinsicCallExpr( Expression * expr ); 80 const ast::ApplicationExpr * isIntrinsicCallExpr( const ast::Expr * expr);81 79 82 80 /// True if stmt is a call statement where the function called is intrinsic and takes one parameter. … … 98 96 /// returns the name of the function being called 99 97 std::string getFunctionName( Expression * expr ); 100 std::string getFunctionName( const ast::Expr * expr );101 98 102 99 /// returns the argument to a call expression in position N indexed from 0 103 100 Expression *& getCallArg( Expression * callExpr, unsigned int pos ); 104 const ast::Expr * getCallArg( const ast::Expr * call, unsigned pos );105 101 106 102 /// returns the base type of a PointerType or ArrayType, else returns NULL 107 103 Type * getPointerBase( Type * ); 108 const ast::Type* getPointerBase( const ast::Type* );109 104 110 105 /// returns the argument if it is a PointerType or ArrayType, else returns NULL
Note:
See TracChangeset
for help on using the changeset viewer.