Changeset 6f096d2 for src/InitTweak/InitTweak.h
- Timestamp:
- Jul 12, 2019, 4:34:56 PM (7 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum, stuck-waitfor-destruct
- Children:
- e3d7f9f
- Parents:
- 8fd52e90
- File:
-
- 1 edited
-
src/InitTweak/InitTweak.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/InitTweak.h
r8fd52e90 r6f096d2 26 26 // helper functions for initialization 27 27 namespace InitTweak { 28 FunctionDecl * isAssignment(Declaration * decl );29 FunctionDecl * isDestructor(Declaration * decl );30 FunctionDecl * isDefaultConstructor(Declaration * decl );31 FunctionDecl * isCopyConstructor(Declaration * decl );32 FunctionDecl * isCopyFunction(Declaration * decl, const std::string & fname );28 const FunctionDecl * isAssignment( const Declaration * decl ); 29 const FunctionDecl * isDestructor( const Declaration * decl ); 30 const FunctionDecl * isDefaultConstructor( const Declaration * decl ); 31 const FunctionDecl * isCopyConstructor( const Declaration * decl ); 32 const FunctionDecl * isCopyFunction( const Declaration * decl, const std::string & fname ); 33 33 bool isCopyFunction( const ast::FunctionDecl * decl ); 34 34 … … 153 153 InitExpander_new & operator++ (); 154 154 155 /// builds statement which has the same semantics as a C-style list initializer (for array 156 /// initializers) using callExpr as the base expression to perform initialization. 155 /// builds statement which has the same semantics as a C-style list initializer (for array 156 /// initializers) using callExpr as the base expression to perform initialization. 157 157 /// Mutates callExpr 158 158 ast::ptr< ast::Stmt > buildListInit( ast::UntypedExpr * callExpr );
Note:
See TracChangeset
for help on using the changeset viewer.