Changeset fa16264 for src/SynTree/Initializer.h
- Timestamp:
- Sep 27, 2017, 5:06:34 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:
- 6e49f18, a8555c5, ea156ae
- Parents:
- 5363fdf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Initializer.h
r5363fdf rfa16264 37 37 std::list< Expression * > & get_designators() { return designators; } 38 38 39 virtual Designation * clone() const { return new Designation( *this ); };39 virtual Designation * clone() const override { return new Designation( *this ); }; 40 40 virtual void accept( Visitor &v ) override { v.visit( this ); } 41 virtual Designation * acceptMutator( Mutator &m ) { return m.mutate( this ); }41 virtual Designation * acceptMutator( Mutator &m ) override { return m.mutate( this ); } 42 42 virtual void print( std::ostream &os, int indent = 0 ) const override; 43 43 }; … … 54 54 bool get_maybeConstructed() { return maybeConstructed; } 55 55 56 virtual Initializer *clone() const = 0;56 virtual Initializer *clone() const override = 0; 57 57 virtual void accept( Visitor &v ) override = 0; 58 virtual Initializer *acceptMutator( Mutator &m ) = 0;58 virtual Initializer *acceptMutator( Mutator &m ) override = 0; 59 59 virtual void print( std::ostream &os, int indent = 0 ) const override = 0; 60 60 private:
Note: See TracChangeset
for help on using the changeset viewer.