Changeset 04bdc26


Ignore:
Timestamp:
Oct 1, 2018, 11:43:49 AM (3 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
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.