Changeset 8aa474a


Ignore:
Timestamp:
Jan 2, 2018, 2:16:49 PM (4 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
b3048d4
Parents:
f3458a8
Message:

Add isUnprototyped member to FunctionType?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Type.h

    rf3458a8 r8aa474a  
    356356        bool isTtype() const;
    357357
     358        bool isUnprototyped() const { return isVarArgs && parameters.size() == 0; }
     359
    358360        virtual FunctionType *clone() const override { return new FunctionType( *this ); }
    359361        virtual void accept( Visitor & v ) override { v.visit( this ); }
Note: See TracChangeset for help on using the changeset viewer.