ADT
        ast-experimental
        enum
        forall-pointer-decay
        jacob/cs343-translation
        new-ast-unique-expr
        pthread-emulation
        qualifiedEnum
      
      
        
          | Last change
 on this file since 93bbbc4 was             364a03c, checked in by Andrew Beach <ajbeach@…>, 5 years ago | 
        
          | 
Added more information to checkAllCodeLocations.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            969 bytes | 
      
      
| Line |  | 
|---|
| 1 | // | 
|---|
| 2 | // Cforall Version 1.0.0 Copyright (C) 2015 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 | // CodeLocationTools.hpp -- Additional tools for code locations. | 
|---|
| 8 | // | 
|---|
| 9 | // Author           : Andrew Beach | 
|---|
| 10 | // Created On       : Fri Dec  4 15:35:00 2020 | 
|---|
| 11 | // Last Modified By : Andrew Beach | 
|---|
| 12 | // Last Modified On : Wed Dec  9  9:53:00 2020 | 
|---|
| 13 | // Update Count     : 1 | 
|---|
| 14 | // | 
|---|
| 15 |  | 
|---|
| 16 | #pragma once | 
|---|
| 17 |  | 
|---|
| 18 | namespace ast { | 
|---|
| 19 | struct TranslationUnit; | 
|---|
| 20 | } | 
|---|
| 21 |  | 
|---|
| 22 | // Search the translation unit for unset code locations and print information | 
|---|
| 23 | // on them, and where the check was run if provided. Abort if any unset code | 
|---|
| 24 | // locations are found. | 
|---|
| 25 | void checkAllCodeLocations( ast::TranslationUnit const & unit ); | 
|---|
| 26 | void checkAllCodeLocations( char const *, ast::TranslationUnit const & ); | 
|---|
| 27 |  | 
|---|
| 28 | // Assign a nearby code-location to any unset code locations in the forest. | 
|---|
| 29 | void forceFillCodeLocations( ast::TranslationUnit & unit ); | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.