Changeset 2c57025 for src/CodeGen


Ignore:
Timestamp:
Nov 25, 2016, 6:11:03 PM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
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:
0f35657
Parents:
186fd86
Message:

add support for built-in sized trait which decouples size/alignment information from otype parameters, add test for sized trait

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/CodeGenerator.cc

    r186fd86 r2c57025  
    169169                        output << aggDecl->get_name();
    170170
    171                 std::list< Declaration * > & memb = aggDecl->get_members();
    172                 if ( ! memb.empty() ) {
    173 //              if ( aggDecl->has_body() ) {
    174 //                      std::list< Declaration * > & memb = aggDecl->get_members();
     171                // std::list< Declaration * > & memb = aggDecl->get_members();
     172                // if ( ! memb.empty() ) {
     173                if ( aggDecl->has_body() ) {
     174                        std::list< Declaration * > & memb = aggDecl->get_members();
    175175                        output << " {" << endl;
    176176
Note: See TracChangeset for help on using the changeset viewer.