Ignore:
Timestamp:
Feb 8, 2016, 10:07:42 AM (10 years ago)
Author:
Thierry Delisle <tdelisle@…>
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, with_gc
Children:
c44e622
Parents:
00ede9e (diff), bd85400 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into gc_noraii

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Indexer.cc

    r00ede9e rd41280e  
    2121#include "Indexer.h"
    2222#include <typeinfo>
    23 #include "utility.h"
     23#include "Common/utility.h"
    2424
    2525#define debugPrint(x) if ( doDebug ) { std::cout << x; }
     
    225225                        maybeAccept( alignofExpr->get_expr(), *this );
    226226                }
     227        }
     228
     229        void Indexer::visit( UntypedOffsetofExpr *offsetofExpr ) {
     230                acceptAllNewScope( offsetofExpr->get_results(), *this );
     231                maybeAccept( offsetofExpr->get_type(), *this );
     232        }
     233
     234        void Indexer::visit( OffsetofExpr *offsetofExpr ) {
     235                acceptAllNewScope( offsetofExpr->get_results(), *this );
     236                maybeAccept( offsetofExpr->get_type(), *this );
     237                maybeAccept( offsetofExpr->get_member(), *this );
    227238        }
    228239
Note: See TracChangeset for help on using the changeset viewer.