Ignore:
Timestamp:
Feb 14, 2017, 1:19:28 PM (9 years ago)
Author:
Aaron Moss <a3moss@…>
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:
97d246d
Parents:
f923b5f (diff), eafb094 (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.h

    rf923b5f rd3a804f5  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Jan 20 15:07:29 2017
    13 // Update Count     : 53
     12// Last Modified On : Thu Feb  9 14:27:08 2017
     13// Update Count     : 56
    1414//
    1515
     
    304304};
    305305
     306class 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
    306324std::ostream & operator<<( std::ostream & out, const Declaration * decl );
    307325std::ostream & operator<<( std::ostream & os, const TypeDecl::Data & data );
Note: See TracChangeset for help on using the changeset viewer.