Changes in src/SynTree/Declaration.h [fa16264:d67cdb7]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Declaration.h
rfa16264 rd67cdb7 61 61 62 62 void fixUniqueId( void ); 63 virtual Declaration *clone() const override= 0;63 virtual Declaration *clone() const = 0; 64 64 virtual void accept( Visitor &v ) override = 0; 65 virtual Declaration *acceptMutator( Mutator &m ) override= 0;65 virtual Declaration *acceptMutator( Mutator &m ) = 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 );168 166 169 167 virtual FunctionDecl *clone() const override { return new FunctionDecl( *this ); }
Note: See TracChangeset
for help on using the changeset viewer.