Ignore:
Timestamp:
Feb 2, 2016, 2:00:37 PM (9 years ago)
Author:
Aaron Moss <a3moss@…>
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:
4789f44, b10c9959
Parents:
5721a6d
Message:

Make offsetof expressions work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/CodeGenerator.cc

    r5721a6d r2a4b088  
    453453        }
    454454
     455        void CodeGenerator::visit( UntypedOffsetofExpr *offsetofExpr ) {
     456                assert( false );
     457        }
     458
    455459        void CodeGenerator::visit( OffsetofExpr *offsetofExpr ) {
    456460                // use GCC builtin
Note: See TracChangeset for help on using the changeset viewer.