Changeset 99d4584 for src/AST


Ignore:
Timestamp:
Jun 5, 2019, 5:58:38 PM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
3cd5fdd
Parents:
2a8f0c1
Message:

Further stubs for resolver port

  • also switched order of constructor params on Indenter
Location:
src/AST
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Print.hpp

    r2a8f0c1 r99d4584  
    2929void print( std::ostream & os, const ast::Node * node, Indenter indent = {} );
    3030
    31 /// Wrap any standard format printer (matching above) with integer Indenter constructor
    32 template<typename T>
    33 inline void print( std::ostream & os, T && x, unsigned int indent ) {
    34     print( os, std::forward<T>(x), Indenter{ Indenter::tabsize, indent });
    35 }
    36 
    3731/// Print a declaration in its short form
    3832void printShort( std::ostream & os, const ast::Decl * node, Indenter indent = {} );
    3933
    4034inline void printShort( std::ostream & os, const ast::Decl * node, unsigned int indent ) {
    41     printShort( os, node, Indenter{ Indenter::tabsize, indent } );
     35    printShort( os, node, Indenter{ indent } );
    4236}
    4337
  • src/AST/SymbolTable.hpp

    r2a8f0c1 r99d4584  
    8585
    8686public:
    87         explicit SymbolTable();
     87        SymbolTable();
    8888        ~SymbolTable();
    8989
  • src/AST/porting.md

    r2a8f0c1 r99d4584  
    295295* changed `WidenMode widenMode` => `WidenMode widen`
    296296
     297`Alternative` => `Candidate`
     298* `openVars` => `open`
     299
    297300[1] https://gcc.gnu.org/onlinedocs/gcc-9.1.0/gcc/Type-Attributes.html#Type-Attributes
    298301
Note: See TracChangeset for help on using the changeset viewer.