Changeset f849c8e for src/Parser
- Timestamp:
- Oct 28, 2016, 1:11:12 PM (9 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:
- 4b1afb6
- Parents:
- 837f999 (diff), 0ebac75 (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/Parser/ParseNode.h
r837f999 rf849c8e 109 109 ExpressionNode * set_extension( bool exten ) { extension = exten; return this; } 110 110 111 v oid print( std::ostream &os, int indent = 0 ) const{}111 virtual void print( std::ostream &os, int indent = 0 ) const override {} 112 112 void printOneLine( std::ostream &os, int indent = 0 ) const {} 113 113 … … 187 187 //############################################################################## 188 188 189 classTypeData;189 struct TypeData; 190 190 191 191 class DeclarationNode : public ParseNode { … … 271 271 } 272 272 273 v oid print( std::ostream &os, int indent = 0 ) const;274 v oid printList( std::ostream &os, int indent = 0 ) const;273 virtual void print( std::ostream &os, int indent = 0 ) const override; 274 virtual void printList( std::ostream &os, int indent = 0 ) const override; 275 275 276 276 Declaration * build() const; … … 345 345 virtual StatementNode * append_last_case( StatementNode * ); 346 346 347 virtual void print( std::ostream &os, int indent = 0 ) {}348 virtual void printList( std::ostream &os, int indent = 0 ) {}347 virtual void print( std::ostream &os, int indent = 0 ) const override {} 348 virtual void printList( std::ostream &os, int indent = 0 ) const override {} 349 349 private: 350 350 std::unique_ptr<Statement> stmt;
Note:
See TracChangeset
for help on using the changeset viewer.