Changeset 6e49f18 for src/SynTree/Declaration.h
- Timestamp:
- Sep 27, 2017, 11:11:30 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- f802e46
- Parents:
- a6c5d7c (diff), fa16264 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Declaration.h
ra6c5d7c r6e49f18 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.