Changeset 04bdc26 for src


Ignore:
Timestamp:
Oct 1, 2018, 11:43:49 AM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
1dd1bd2, a29c6e2
Parents:
d0bacde
Message:

Fix handling of varargs variables in RPDump

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeTools/ResolvProtoDump.cc

    rd0bacde r04bdc26  
    321321                        }
    322322
    323                         // TODO support VarArgsType
     323                        // TODO support variable args for functions
     324                        void previsit( VarArgsType* ) {
     325                                // only include varargs for top level (argument type)
     326                                if ( depth == 0 ) { ss << "#$varargs"; }
     327                        }
    324328
    325329                        // replace 0 and 1 with int
Note: See TracChangeset for help on using the changeset viewer.