Changes in src/SynTree/Declaration.h [d67cdb7:fa16264]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Declaration.h
rd67cdb7 rfa16264 61 61 62 62 void fixUniqueId( void ); 63 virtual Declaration *clone() const = 0;63 virtual Declaration *clone() const override = 0; 64 64 virtual void accept( Visitor &v ) override = 0; 65 virtual Declaration *acceptMutator( Mutator &m ) = 0;65 virtual Declaration *acceptMutator( Mutator &m ) override = 0; 66 66 virtual void print( std::ostream &os, int indent = 0 ) const override = 0; 67 67 virtual void printShort( std::ostream &os, int indent = 0 ) const = 0; … … 164 164 CompoundStmt *get_statements() const { return statements; } 165 165 void set_statements( CompoundStmt *newValue ) { statements = newValue; } 166 167 static FunctionDecl * newFunction( const std::string & name, FunctionType * type, CompoundStmt * statements ); 166 168 167 169 virtual FunctionDecl *clone() const override { return new FunctionDecl( *this ); }
Note: See TracChangeset
for help on using the changeset viewer.