Ignore:
Timestamp:
Jun 20, 2019, 6:50:42 PM (3 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
9af00d23
Parents:
234b1cb
Message:

new AST porting

  • mostly InitTweak? autogeneration
  • added some convenience methods
    • nullptr assignment for ast::ptr
    • convenience wrapper ctors for AddressExpr?, CastExpr? that draw location from first arg
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/GenInit.h

    r234b1cb rb8524ca  
    2020
    2121#include "AST/Fwd.hpp"
     22#include "Common/CodeLocation.h"
    2223#include "GenPoly/ScopedSet.h" // for ScopedSet
    2324#include "SynTree/SynTree.h"   // for Visitor Nodes
     
    3536        /// creates an appropriate ConstructorInit node which contains a constructor, destructor, and C-initializer
    3637        ConstructorInit * genCtorInit( ObjectDecl * objDecl );
    37         ast::ConstructorInit * genCtorInit( const ast::ObjectDecl * objDecl );
     38        ast::ConstructorInit * genCtorInit( const CodeLocation & loc, const ast::ObjectDecl * objDecl );
    3839
    3940        class ManagedTypes {
Note: See TracChangeset for help on using the changeset viewer.