| 
            Last change
 on this file since 9fba8e6 was             b8b5535, checked in by Andrew Beach <ajbeach@…>, 2 years ago           | 
        
        
          | 
             
Major round of clean-up in the GenPoly directory. 
 
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            1010 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
| [ea5daeb] | 1 | //
 | 
|---|
 | 2 | // Cforall Version 1.0.0 Copyright (C) 2016 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 | //
 | 
|---|
| [04db9f6] | 7 | // InstantiateGeneric.h -- Create concrete instances of generic types.
 | 
|---|
| [ea5daeb] | 8 | //
 | 
|---|
 | 9 | // Author           : Aaron B. Moss
 | 
|---|
 | 10 | // Created On       : Thu Aug 04 18:33:00 2016
 | 
|---|
| [6b0b624] | 11 | // Last Modified By : Peter A. Buhr
 | 
|---|
 | 12 | // Last Modified On : Sat Jul 22 09:22:42 2017
 | 
|---|
 | 13 | // Update Count     : 2
 | 
|---|
| [ea5daeb] | 14 | //
 | 
|---|
 | 15 | 
 | 
|---|
| [6b0b624] | 16 | #pragma once
 | 
|---|
| [ea5daeb] | 17 | 
 | 
|---|
| [3606fe4] | 18 | namespace ast {
 | 
|---|
 | 19 |         class TranslationUnit;
 | 
|---|
 | 20 | }
 | 
|---|
| [ea5daeb] | 21 | 
 | 
|---|
 | 22 | namespace GenPoly {
 | 
|---|
| [04db9f6] | 23 | 
 | 
|---|
| [3606fe4] | 24 | void instantiateGeneric( ast::TranslationUnit & translationUnit );
 | 
|---|
| [04db9f6] | 25 | /// Replaces all generic types that have static layout with concrete
 | 
|---|
 | 26 | /// instantiations. Sized types are replaced with the concrete argument types
 | 
|---|
 | 27 | /// while unsized types are erased to a void type.
 | 
|---|
 | 28 | /// This pass can cause designators to ignore the pretty print option.
 | 
|---|
 | 29 | 
 | 
|---|
| [ea5daeb] | 30 | } // namespace GenPoly
 | 
|---|
 | 31 | 
 | 
|---|
 | 32 | // Local Variables: //
 | 
|---|
 | 33 | // tab-width: 4 //
 | 
|---|
 | 34 | // mode: c++ //
 | 
|---|
 | 35 | // compile-command: "make install" //
 | 
|---|
 | 36 | // End: //
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.