Changes in src/SynTree/Declaration.h [e612146c:96f9ef5]
- File:
-
- 1 edited
-
src/SynTree/Declaration.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Declaration.h
re612146c r96f9ef5 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Sun Sep 3 19:24:06201713 // Update Count : 1 3111 // Last Modified By : Andrew Beach 12 // Last Modified On : Mon Aug 14 10:15:00 2017 13 // Update Count : 128 14 14 // 15 15 … … 82 82 int scopeLevel = 0; 83 83 84 Expression*asmName;84 ConstantExpr *asmName; 85 85 std::list< Attribute * > attributes; 86 86 … … 97 97 DeclarationWithType * set_scopeLevel( int newValue ) { scopeLevel = newValue; return this; } 98 98 99 Expression*get_asmName() const { return asmName; }100 DeclarationWithType * set_asmName( Expression*newValue ) { asmName = newValue; return this; }99 ConstantExpr *get_asmName() const { return asmName; } 100 DeclarationWithType * set_asmName( ConstantExpr *newValue ) { asmName = newValue; return this; } 101 101 102 102 std::list< Attribute * >& get_attributes() { return attributes; } … … 136 136 Expression *get_bitfieldWidth() const { return bitfieldWidth; } 137 137 void set_bitfieldWidth( Expression *newValue ) { bitfieldWidth = newValue; } 138 139 static ObjectDecl * newObject( const std::string & name, Type * type, Initializer * init ); 138 140 139 141 virtual ObjectDecl *clone() const { return new ObjectDecl( *this ); } … … 230 232 virtual TypeDecl *clone() const { return new TypeDecl( *this ); } 231 233 virtual void accept( Visitor &v ) { v.visit( this ); } 232 virtual TypeDecl*acceptMutator( Mutator &m ) { return m.mutate( this ); }234 virtual Declaration *acceptMutator( Mutator &m ) { return m.mutate( this ); } 233 235 virtual void print( std::ostream &os, int indent = 0 ) const; 234 236
Note:
See TracChangeset
for help on using the changeset viewer.