Changeset 51fcdbc7
- Timestamp:
- Aug 20, 2018, 6:01:05 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 2b79a70
- Parents:
- f271bdd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Resolver.cc
rf271bdd r51fcdbc7 304 304 void Resolver::previsit( ObjectDecl *objectDecl ) { 305 305 Type *new_type = resolveTypeof( objectDecl->get_type(), indexer ); 306 new_type->get_qualifiers() -= Type::Lvalue; // even if typeof is lvalue, variable can never have lvalue-qualified type 306 307 objectDecl->set_type( new_type ); 307 308 // To handle initialization of routine pointers, e.g., int (*fp)(int) = foo(), means that class-variable
Note: See TracChangeset
for help on using the changeset viewer.