Changeset e994912 for src/SynTree/Declaration.cc
- Timestamp:
- Feb 9, 2017, 3:17:29 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:
- 6ef2d81, a073d46
- Parents:
- ea23d10
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Declaration.cc
rea23d10 re994912 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Aug 18 23:49:57 201613 // Update Count : 1 312 // Last Modified On : Thu Feb 9 14:28:05 2017 13 // Update Count : 16 14 14 // 15 15 … … 66 66 67 67 68 AsmDecl::AsmDecl( AsmStmt *stmt ) : Declaration( "", DeclarationNode::NoStorageClass, LinkageSpec::C ), stmt( stmt ) { 69 } 70 71 AsmDecl::AsmDecl( const AsmDecl &other ) : Declaration( other ), stmt( maybeClone( other.stmt ) ) { 72 } 73 74 AsmDecl::~AsmDecl() { 75 delete stmt; 76 } 77 78 void AsmDecl::print( std::ostream &os, int indent ) const { 79 stmt->print( os, indent ); 80 } 81 82 void AsmDecl::printShort( std::ostream &os, int indent ) const { 83 stmt->print( os, indent ); 84 } 85 86 68 87 // Local Variables: // 69 88 // tab-width: 4 //
Note: See TracChangeset
for help on using the changeset viewer.