- Timestamp:
- Jan 21, 2016, 1:40:07 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 05d47278
- Parents:
- e551c69
- git-author:
- Aaron Moss <a3moss@…> (01/21/16 13:39:21)
- git-committer:
- Aaron Moss <a3moss@…> (01/21/16 13:40:07)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Expression.cc
re551c69 rbfebb6c5 103 103 SizeofExpr::SizeofExpr( Expression *expr_, Expression *_aname ) : 104 104 Expression( _aname ), expr(expr_), type(0), isType(false) { 105 add_result( new BasicType( Type::Qualifiers(), BasicType:: UnsignedInt ) );105 add_result( new BasicType( Type::Qualifiers(), BasicType::LongUnsignedInt ) ); 106 106 } 107 107 108 108 SizeofExpr::SizeofExpr( Type *type_, Expression *_aname ) : 109 109 Expression( _aname ), expr(0), type(type_), isType(true) { 110 add_result( new BasicType( Type::Qualifiers(), BasicType:: UnsignedInt ) );110 add_result( new BasicType( Type::Qualifiers(), BasicType::LongUnsignedInt ) ); 111 111 } 112 112 … … 134 134 AlignofExpr::AlignofExpr( Expression *expr_, Expression *_aname ) : 135 135 Expression( _aname ), expr(expr_), type(0), isType(false) { 136 add_result( new BasicType( Type::Qualifiers(), BasicType:: UnsignedInt ) );136 add_result( new BasicType( Type::Qualifiers(), BasicType::LongUnsignedInt ) ); 137 137 } 138 138 139 139 AlignofExpr::AlignofExpr( Type *type_, Expression *_aname ) : 140 140 Expression( _aname ), expr(0), type(type_), isType(true) { 141 add_result( new BasicType( Type::Qualifiers(), BasicType:: UnsignedInt ) );141 add_result( new BasicType( Type::Qualifiers(), BasicType::LongUnsignedInt ) ); 142 142 } 143 143 … … 165 165 OffsetofExpr::OffsetofExpr( Type *type_, DeclarationWithType *member_, Expression *_aname ) : 166 166 Expression( _aname ), type(type_), member(member_) { 167 add_result( new BasicType( Type::Qualifiers(), BasicType:: UnsignedInt ) );167 add_result( new BasicType( Type::Qualifiers(), BasicType::LongUnsignedInt ) ); 168 168 } 169 169
Note: See TracChangeset
for help on using the changeset viewer.