Changeset a073d46 for src/SynTree/Declaration.h
- Timestamp:
- Feb 9, 2017, 5:31:49 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:
- 132fad4
- Parents:
- 9e45e46 (diff), e994912 (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
r9e45e46 ra073d46 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Jan 20 15:07:29201713 // Update Count : 5 312 // Last Modified On : Thu Feb 9 14:27:08 2017 13 // Update Count : 56 14 14 // 15 15 … … 304 304 }; 305 305 306 class AsmDecl : public Declaration { 307 public: 308 AsmDecl( AsmStmt *stmt ); 309 AsmDecl( const AsmDecl &other ); 310 virtual ~AsmDecl(); 311 312 AsmStmt *get_stmt() { return stmt; } 313 void set_stmt( AsmStmt *newValue ) { stmt = newValue; } 314 315 virtual AsmDecl *clone() const { return new AsmDecl( *this ); } 316 virtual void accept( Visitor &v ) { v.visit( this ); } 317 virtual AsmDecl *acceptMutator( Mutator &m ) { return m.mutate( this ); } 318 virtual void print( std::ostream &os, int indent = 0 ) const; 319 virtual void printShort( std::ostream &os, int indent = 0 ) const; 320 private: 321 AsmStmt *stmt; 322 }; 323 306 324 std::ostream & operator<<( std::ostream & out, const Declaration * decl ); 307 325 std::ostream & operator<<( std::ostream & os, const TypeDecl::Data & data );
Note:
See TracChangeset
for help on using the changeset viewer.