Changes in src/InitTweak/InitTweak.h [d76c588:2d11663]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/InitTweak.h
rd76c588 r2d11663 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // RemoveInit.h --7 // InitTweak.h -- 8 8 // 9 9 // Author : Rob Schluntz 10 10 // Created On : Fri May 13 11:26:36 2016 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Sat Jul 22 09:30:33 201713 // Update Count : 411 // Last Modified By : Aaron B. Moss 12 // Last Modified On : Mon Jun 10 13:30:00 2019 13 // Update Count : 5 14 14 // 15 15 … … 19 19 #include <memory> // for shared_ptr 20 20 #include <string> // for string, allocator 21 #include <vector> 21 22 22 23 #include "AST/Fwd.hpp" // for AST nodes … … 63 64 /// Non-Null if expr is a call expression whose target function is intrinsic 64 65 ApplicationExpr * isIntrinsicCallExpr( Expression * expr ); 66 const ast::ApplicationExpr * isIntrinsicCallExpr( const ast::Expr * expr); 65 67 66 68 /// True if stmt is a call statement where the function called is intrinsic and takes one parameter. … … 68 70 /// Currently has assertions that make it less than fully general. 69 71 bool isIntrinsicSingleArgCallStmt( Statement * stmt ); 72 bool isIntrinsicSingleArgCallStmt( const ast::Stmt * stmt ); 70 73 71 74 /// True if stmt is a call statement where the function called is intrinsic. … … 74 77 /// get all Ctor/Dtor call expressions from a Statement 75 78 void collectCtorDtorCalls( Statement * stmt, std::list< Expression * > & matches ); 79 std::vector< ast::ptr< ast::Expr > > collectCtorDtorCalls( const ast::Stmt * stmt ); 76 80 77 81 /// get the Ctor/Dtor call expression from a Statement that looks like a generated ctor/dtor call
Note:
See TracChangeset
for help on using the changeset viewer.