ADT
        ast-experimental
        pthread-emulation
        qualifiedEnum
      
      
        
          | 
            Last change
 on this file since 4b4f95f was             4ec9513, checked in by Andrew Beach <ajbeach@…>, 4 years ago           | 
        
        
          | 
             
Converted validate C, including adding DimensionExpr to the new ast. 
 
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            898 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
| [4ec9513] | 1 | //
 | 
|---|
 | 2 | // Cforall Version 1.0.0 Copyright (C) 2018 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 | // GenericParameter.hpp --
 | 
|---|
 | 8 | //
 | 
|---|
 | 9 | // Author           : Andrew Beach
 | 
|---|
 | 10 | // Created On       : Fri Mar 21  9:55:00 2022
 | 
|---|
 | 11 | // Last Modified By : Andrew Beach
 | 
|---|
 | 12 | // Last Modified On : Wed Apr 13 14:45:00 2022
 | 
|---|
 | 13 | // Update Count     : 0
 | 
|---|
 | 14 | //
 | 
|---|
 | 15 | 
 | 
|---|
 | 16 | #pragma once
 | 
|---|
 | 17 | 
 | 
|---|
 | 18 | namespace ast {
 | 
|---|
 | 19 |         class TranslationUnit;
 | 
|---|
 | 20 | }
 | 
|---|
 | 21 | 
 | 
|---|
 | 22 | namespace Validate {
 | 
|---|
 | 23 | 
 | 
|---|
 | 24 | /// Perform substutions for generic parameters and fill in defaults.
 | 
|---|
 | 25 | void fillGenericParameters( ast::TranslationUnit & translationUnit );
 | 
|---|
 | 26 | 
 | 
|---|
 | 27 | /// Replace dimension generic parameters with a fixed type of that size.
 | 
|---|
 | 28 | void translateDimensionParameters( ast::TranslationUnit & translationUnit );
 | 
|---|
 | 29 | 
 | 
|---|
 | 30 | }
 | 
|---|
 | 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.