ADT
        ast-experimental
        pthread-emulation
        qualifiedEnum
      
      
        
          | Last change
 on this file since 7991c7d was             298fe57, checked in by Andrew Beach <ajbeach@…>, 4 years ago | 
        
          | 
Translated 3/4 of validate_B. Link Reference To Types has been removed and will be translated after we know how much support we need for forall function pointers.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            1.0 KB | 
      
      
| Line |  | 
|---|
| 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 | // ForallPointerDecay.hpp -- | 
|---|
| 8 | // | 
|---|
| 9 | // Author           : Andrew Beach | 
|---|
| 10 | // Created On       : Tue Dec  7 16:15:00 2021 | 
|---|
| 11 | // Last Modified By : Andrew Beach | 
|---|
| 12 | // Last Modified On : Sat Apr 23 13:13:00 2022 | 
|---|
| 13 | // Update Count     : 1 | 
|---|
| 14 | // | 
|---|
| 15 |  | 
|---|
| 16 | #pragma once | 
|---|
| 17 |  | 
|---|
| 18 | #include <vector> | 
|---|
| 19 | #include "AST/Node.hpp" | 
|---|
| 20 |  | 
|---|
| 21 | namespace ast { | 
|---|
| 22 | class DeclWithType; | 
|---|
| 23 | class TranslationUnit; | 
|---|
| 24 | } | 
|---|
| 25 |  | 
|---|
| 26 | namespace Validate { | 
|---|
| 27 |  | 
|---|
| 28 | /// Cleans up assertion lists and expands traits. | 
|---|
| 29 | /// Also checks that operator names are used properly on functions and | 
|---|
| 30 | /// assigns unique IDs. This is a "legacy" pass. | 
|---|
| 31 | void decayForallPointers( ast::TranslationUnit & transUnit ); | 
|---|
| 32 |  | 
|---|
| 33 | /// Expand all traits in an assertion list. | 
|---|
| 34 | std::vector<ast::ptr<ast::DeclWithType>> expandAssertions( | 
|---|
| 35 | std::vector<ast::ptr<ast::DeclWithType>> const & ); | 
|---|
| 36 |  | 
|---|
| 37 | } | 
|---|
| 38 |  | 
|---|
| 39 | // Local Variables: // | 
|---|
| 40 | // tab-width: 4 // | 
|---|
| 41 | // mode: c++ // | 
|---|
| 42 | // compile-command: "make install" // | 
|---|
| 43 | // End: // | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.