Changes in src/InitTweak/GenInit.h [16ba4a6f:b8524ca]
- File:
-
- 1 edited
-
src/InitTweak/GenInit.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/GenInit.h
r16ba4a6f rb8524ca 33 33 /// generates a single ctor/dtor statement using objDecl as the 'this' parameter and arg as the optional argument 34 34 ImplicitCtorDtorStmt * genCtorDtor( const std::string & fname, ObjectDecl * objDecl, Expression * arg = nullptr ); 35 ast::ptr<ast::Stmt> genCtorDtor (const CodeLocation & loc, const std::string & fname, const ast::ObjectDecl * objDecl, const ast::Expr * arg = nullptr);36 35 37 36 /// creates an appropriate ConstructorInit node which contains a constructor, destructor, and C-initializer … … 52 51 GenPoly::ScopedSet< std::string > managedTypes; 53 52 }; 54 55 class ManagedTypes_new {56 public:57 bool isManaged( const ast::ObjectDecl * objDecl ) const ; // determine if object is managed58 bool isManaged( const ast::Type * type ) const; // determine if type is managed59 60 void handleDWT( const ast::DeclWithType * dwt ); // add type to managed if ctor/dtor61 void handleStruct( const ast::StructDecl * aggregateDecl ); // add type to managed if child is managed62 63 void beginScope();64 void endScope();65 private:66 GenPoly::ScopedSet< std::string > managedTypes;67 };68 53 } // namespace 69 54
Note:
See TracChangeset
for help on using the changeset viewer.