Changeset 8aa474a for src/SynTree


Ignore:
Timestamp:
Jan 2, 2018, 2:16:49 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, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, 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.