| Last change
 on this file since 99fc978 was             17fa94f, checked in by Andrew Beach <ajbeach@…>, 9 months ago | 
        
          | 
Reworked some nodes so they can be typed or untyped. This allowed me to remove TranslationDeps as the type information is only needed in the candidate finder, which can easily insert it.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            707 bytes | 
      
      
| Line |  | 
|---|
| 1 | // | 
|---|
| 2 | // Cforall Version 1.0.0 Copyright (C) 2019 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 | // Util.hpp -- General utilities for working with the AST. | 
|---|
| 8 | // | 
|---|
| 9 | // Author           : Andrew Beach | 
|---|
| 10 | // Created On       : Wed Jan 19  9:37:00 2022 | 
|---|
| 11 | // Last Modified By : Andrew Beach | 
|---|
| 12 | // Last Modified On : Fri Feb 18  9:43:00 2022 | 
|---|
| 13 | // Update Count     : 0 | 
|---|
| 14 | // | 
|---|
| 15 |  | 
|---|
| 16 | #pragma once | 
|---|
| 17 |  | 
|---|
| 18 | #include "Fwd.hpp" | 
|---|
| 19 |  | 
|---|
| 20 | namespace ast { | 
|---|
| 21 |  | 
|---|
| 22 | class TranslationUnit; | 
|---|
| 23 |  | 
|---|
| 24 | /// Check anything that should always be true of the AST between passes. | 
|---|
| 25 | /// Insert this whenever you want additional debugging checks. | 
|---|
| 26 | void checkInvariants( TranslationUnit & ); | 
|---|
| 27 |  | 
|---|
| 28 | } | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.