ast-experimental
      
      
        
          | 
            Last change
 on this file since 4d5c8552 was             11df881, checked in by Andrew Beach <ajbeach@…>, 3 years ago           | 
        
        
          | 
             
Updated documentation on pre-resolver passes, moving code to headers instead of uses. Note that some comments were just copied over, I don't know if they are accurate. 
 
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            939 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
| [1931bb01] | 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 | //
 | 
|---|
| [11df881] | 7 | // EnumAndPointerDecay.hpp -- Normalizes enumerations and types in functions.
 | 
|---|
| [1931bb01] | 8 | //
 | 
|---|
 | 9 | // Author           : Andrew Beach
 | 
|---|
 | 10 | // Created On       : Tue Jun 28 15:48:00 2022
 | 
|---|
 | 11 | // Last Modified By : Andrew Beach
 | 
|---|
 | 12 | // Last Modified On : Mon Jul  4 13:12:00 2022
 | 
|---|
 | 13 | // Update Count     : 0
 | 
|---|
 | 14 | //
 | 
|---|
 | 15 | 
 | 
|---|
 | 16 | #pragma once
 | 
|---|
 | 17 | 
 | 
|---|
 | 18 | namespace ast {
 | 
|---|
 | 19 |         class TranslationUnit;
 | 
|---|
 | 20 | }
 | 
|---|
 | 21 | 
 | 
|---|
 | 22 | namespace Validate {
 | 
|---|
 | 23 | 
 | 
|---|
| [11df881] | 24 | /// Fix the parameter and return types of functions. Also assigns types to
 | 
|---|
 | 25 | /// enumeration values. This must happen before Link Reference to Types,
 | 
|---|
 | 26 | /// it needs correct types for mangling, and before auto-gen.
 | 
|---|
| [1931bb01] | 27 | void decayEnumsAndPointers( ast::TranslationUnit & translationUnit );
 | 
|---|
 | 28 | 
 | 
|---|
 | 29 | }
 | 
|---|
 | 30 | 
 | 
|---|
 | 31 | // Local Variables: //
 | 
|---|
 | 32 | // tab-width: 4 //
 | 
|---|
 | 33 | // mode: c++ //
 | 
|---|
 | 34 | // compile-command: "make install" //
 | 
|---|
 | 35 | // End: //
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.