Ignore:
Timestamp:
Jun 19, 2018, 2:11:38 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:
9a7a3b6
Parents:
704d11e
Message:

Add nodes for global scope type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Type.cc

    r704d11e r47498bd  
    118118
    119119void QualifiedType::print( std::ostream & os, Indenter indent ) const {
    120         os << "Qualified Type: ";
     120        os << "Qualified Type: " << endl;
    121121        printAll( types, os, indent+1 );
    122122        Type::print( os, indent+1 );
     123}
     124
     125GlobalScopeType::GlobalScopeType() : Type( Type::Qualifiers(), {} ) {}
     126
     127void GlobalScopeType::print( std::ostream & os, Indenter indent ) const {
     128        os << "Global Scope Type" << endl;
    123129}
    124130
Note: See TracChangeset for help on using the changeset viewer.