Changeset 589a70b for src


Ignore:
Timestamp:
Jun 14, 2018, 4:21:48 PM (6 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, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
29f9e20
Parents:
eaa6430
git-author:
Rob Schluntz <rschlunt@…> (06/14/18 16:21:24)
git-committer:
Rob Schluntz <rschlunt@…> (06/14/18 16:21:48)
Message:

Minor cleanup

Location:
src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/FixInit.cc

    reaa6430 r589a70b  
    11631163
    11641164                        std::string fname = getFunctionName( appExpr );
    1165                         if ( fname == function->get_name() ) {
     1165                        if ( fname == function->name ) {
    11661166                                // call to same kind of function
    1167                                 Expression * firstParam = appExpr->get_args().front();
     1167                                Expression * firstParam = appExpr->args.front();
    11681168
    11691169                                if ( isThisExpression( firstParam, thisParam ) ) {
     
    11741174                                        // if first parameter is a member expression on the this parameter,
    11751175                                        // then remove the member from unhandled set.
    1176                                         if ( isThisExpression( memberExpr->get_aggregate(), thisParam ) ) {
    1177                                                 unhandled.erase( memberExpr->get_member() );
     1176                                        if ( isThisExpression( memberExpr->aggregate, thisParam ) ) {
     1177                                                unhandled.erase( memberExpr->member );
    11781178                                        }
    11791179                                }
  • src/SymTab/Indexer.cc

    reaa6430 r589a70b  
    499499                makeWritable();
    500500
    501                 const std::string &id = decl->get_name();
     501                const std::string &id = decl->name;
    502502                TypeTable::iterator existing = tables->typeTable.find( id );
    503503                if ( existing == tables->typeTable.end() ) {
     
    532532                makeWritable();
    533533
    534                 const std::string &id = decl->get_name();
     534                const std::string &id = decl->name;
    535535                StructTable::iterator existing = tables->structTable.find( id );
    536536                if ( existing == tables->structTable.end() ) {
     
    551551                makeWritable();
    552552
    553                 const std::string &id = decl->get_name();
     553                const std::string &id = decl->name;
    554554                EnumTable::iterator existing = tables->enumTable.find( id );
    555555                if ( existing == tables->enumTable.end() ) {
     
    575575                makeWritable();
    576576
    577                 const std::string &id = decl->get_name();
     577                const std::string &id = decl->name;
    578578                UnionTable::iterator existing = tables->unionTable.find( id );
    579579                if ( existing == tables->unionTable.end() ) {
     
    594594                makeWritable();
    595595
    596                 const std::string &id = decl->get_name();
     596                const std::string &id = decl->name;
    597597                TraitTable::iterator existing = tables->traitTable.find( id );
    598598                if ( existing == tables->traitTable.end() ) {
  • src/prelude/prelude.cf

    reaa6430 r589a70b  
    728728forall( dtype DT ) void ?{}(       volatile  DT *          &,                   DT * );
    729729forall( dtype DT ) void ?{}(       volatile  DT *          &,       volatile    DT * );
    730 
    731730forall( dtype DT ) void ?{}( const volatile  DT *          &,                   DT * );
    732731forall( dtype DT ) void ?{}( const volatile  DT *          &, const             DT * );
Note: See TracChangeset for help on using the changeset viewer.