ADT
        aaron-thesis
        arm-eh
        ast-experimental
        cleanup-dtors
        deferred_resn
        demangler
        enum
        forall-pointer-decay
        jacob/cs343-translation
        jenkins-sandbox
        new-ast
        new-ast-unique-expr
        new-env
        no_list
        persistent-indexer
        pthread-emulation
        qualifiedEnum
        resolv-new
        with_gc
      
      
        
          | 
            Last change
 on this file since 05807e9 was             d180746, checked in by Thierry Delisle <tdelisle@…>, 8 years ago           | 
        
        
          | 
             
Big header cleaning pass - commit 2 
 
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            1.2 KB
           | 
        
      
      
| Rev | Line |   | 
|---|
| [51587aa] | 1 | //
 | 
|---|
 | 2 | // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
 | 
|---|
 | 3 | //
 | 
|---|
 | 4 | // The contents of this file are covered under the licence agreement in the
 | 
|---|
 | 5 | // file "LICENCE" distributed with Cforall.
 | 
|---|
 | 6 | //
 | 
|---|
| [f0121d7] | 7 | // GenInit.h --
 | 
|---|
| [51587aa] | 8 | //
 | 
|---|
| [843054c2] | 9 | // Author           : Rodolfo G. Esteves
 | 
|---|
| [51587aa] | 10 | // Created On       : Mon May 18 07:44:20 2015
 | 
|---|
| [6b0b624] | 11 | // Last Modified By : Peter A. Buhr
 | 
|---|
 | 12 | // Last Modified On : Sat Jul 22 09:31:19 2017
 | 
|---|
 | 13 | // Update Count     : 4
 | 
|---|
| [51587aa] | 14 | //
 | 
|---|
| [48e99f2] | 15 | 
 | 
|---|
| [6b0b624] | 16 | #pragma once
 | 
|---|
| [48e99f2] | 17 | 
 | 
|---|
| [d180746] | 18 | #include <list>               // for list
 | 
|---|
 | 19 | #include <string>             // for string
 | 
|---|
| [48e99f2] | 20 | 
 | 
|---|
| [d180746] | 21 | #include "SynTree/SynTree.h"  // for Visitor Nodes
 | 
|---|
| [48e99f2] | 22 | 
 | 
|---|
 | 23 | namespace InitTweak {
 | 
|---|
| [a0fdbd5] | 24 |         /// Adds return value temporaries and wraps Initializers in ConstructorInit nodes
 | 
|---|
 | 25 |         void genInit( std::list< Declaration * > & translationUnit );
 | 
|---|
| [f0121d7] | 26 | 
 | 
|---|
| [092528b] | 27 |   /// generates a single ctor/dtor statement using objDecl as the 'this' parameter and arg as the optional argument
 | 
|---|
 | 28 |   ImplicitCtorDtorStmt * genCtorDtor( const std::string & fname, ObjectDecl * objDecl, Expression * arg = nullptr );
 | 
|---|
 | 29 | 
 | 
|---|
| [f0121d7] | 30 |         /// creates an appropriate ConstructorInit node which contains a constructor, destructor, and C-initializer
 | 
|---|
 | 31 |         ConstructorInit * genCtorInit( ObjectDecl * objDecl );
 | 
|---|
| [02c7d04] | 32 | } // namespace
 | 
|---|
| [48e99f2] | 33 | 
 | 
|---|
| [51587aa] | 34 | // Local Variables: //
 | 
|---|
 | 35 | // tab-width: 4 //
 | 
|---|
 | 36 | // mode: c++ //
 | 
|---|
 | 37 | // compile-command: "make install" //
 | 
|---|
 | 38 | // End: //
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.