Changeset f6d7e0f for src/GenPoly/Box.cc


Ignore:
Timestamp:
Jul 3, 2015, 6:52:57 PM (9 years ago)
Author:
Rob Schluntz <rschlunt@…>
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:
28a8cf9
Parents:
2871210
Message:

label fix, enumeration assignment first attempt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/Box.cc

    r2871210 rf6d7e0f  
    99// Author           : Richard C. Bilson
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sat Jun 13 09:12:19 2015
    13 // Update Count     : 4
     11// Last Modified By : Rob Schluntz
     12// Last Modified On : Wed Jun 24 16:19:07 2015
     13// Update Count     : 10
    1414//
    1515
     
    366366                                } else {
    367367                                        ObjectDecl *newObj = new ObjectDecl( tempNamer.newName(), DeclarationNode::NoStorageClass, LinkageSpec::C, 0, arg->get_results().front()->clone(), 0 );
    368                                         newObj->get_type()->get_qualifiers() = Type::Qualifiers();
     368                                        newObj->get_type()->get_qualifiers() = Type::Qualifiers(); // TODO: is this right???
    369369                                        stmtsToAdd.push_back( new DeclStmt( noLabels, newObj ) );
    370370                                        UntypedExpr *assign = new UntypedExpr( new NameExpr( "?=?" ) );
Note: See TracChangeset for help on using the changeset viewer.