Ignore:
Timestamp:
Feb 9, 2017, 5:31:49 PM (9 years ago)
Author:
Thierry Delisle <tdelisle@…>
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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Declaration.cc

    r9e45e46 ra073d46  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Aug 18 23:49:57 2016
    13 // Update Count     : 13
     12// Last Modified On : Thu Feb  9 14:28:05 2017
     13// Update Count     : 16
    1414//
    1515
     
    6666
    6767
     68AsmDecl::AsmDecl( AsmStmt *stmt ) : Declaration( "", DeclarationNode::NoStorageClass, LinkageSpec::C ), stmt( stmt ) {
     69}
     70
     71AsmDecl::AsmDecl( const AsmDecl &other ) : Declaration( other ), stmt( maybeClone( other.stmt ) ) {
     72}
     73
     74AsmDecl::~AsmDecl() {
     75        delete stmt;
     76}
     77
     78void AsmDecl::print( std::ostream &os, int indent ) const {
     79        stmt->print( os, indent );
     80}
     81
     82void AsmDecl::printShort( std::ostream &os, int indent ) const {
     83        stmt->print( os, indent );
     84}
     85
     86
    6887// Local Variables: //
    6988// tab-width: 4 //
Note: See TracChangeset for help on using the changeset viewer.