ADT
        aaron-thesis
        arm-eh
        ast-experimental
        cleanup-dtors
        ctor
        deferred_resn
        demangler
        enum
        forall-pointer-decay
        gc_noraii
        jacob/cs343-translation
        jenkins-sandbox
        memory
        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 f5ef08c was             71f4e4f, checked in by Rob Schluntz <rschlunt@…>, 10 years ago | 
        
          | 
added ConstructorInit, simple constructors and destructors work correctly
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            920 bytes | 
      
      
| Rev | Line |  | 
|---|
| [71f4e4f] | 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 | // | 
|---|
|  | 7 | // FixInit.h -- | 
|---|
|  | 8 | // | 
|---|
|  | 9 | // Author           : Rob Schluntz | 
|---|
|  | 10 | // Created On       : Wed Jan 13 16:29:30 2016 | 
|---|
|  | 11 | // Last Modified By : Rob Schluntz | 
|---|
|  | 12 | // Last Modified On : Wed Jan 13 16:31:13 2016 | 
|---|
|  | 13 | // Update Count     : 5 | 
|---|
|  | 14 | // | 
|---|
|  | 15 |  | 
|---|
|  | 16 | #ifndef FIX_INIT_H | 
|---|
|  | 17 | #define FIX_INIT_H | 
|---|
|  | 18 |  | 
|---|
|  | 19 | #include <string> | 
|---|
|  | 20 | #include <list> | 
|---|
|  | 21 |  | 
|---|
|  | 22 | #include "SynTree/SynTree.h" | 
|---|
|  | 23 | #include "SynTree/Declaration.h" | 
|---|
|  | 24 | #include "SynTree/Mutator.h" | 
|---|
|  | 25 |  | 
|---|
|  | 26 | namespace InitTweak { | 
|---|
|  | 27 | /// replace constructor initializers with expression statements | 
|---|
|  | 28 | /// and unwrap basic C-style initializers | 
|---|
|  | 29 | void fix( std::list< Declaration * > & translationUnit ); | 
|---|
|  | 30 | } // namespace | 
|---|
|  | 31 |  | 
|---|
|  | 32 | #endif // GENPOLY_POLYMUTATOR_H | 
|---|
|  | 33 |  | 
|---|
|  | 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.