ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Rev | Line | |
---|
[ba912706] | 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 | // ExceptTranslate.h -- |
---|
| 8 | // |
---|
| 9 | // Author : Andrew Beach |
---|
| 10 | // Created On : Tus Jun 06 10:13:00 2017 |
---|
[046a890] | 11 | // Last Modified By : Andrew Beach |
---|
| 12 | // Last Modified On : Tus May 19 11:47:00 2020 |
---|
| 13 | // Update Count : 5 |
---|
[ba912706] | 14 | // |
---|
| 15 | |
---|
[6b0b624] | 16 | #pragma once |
---|
[ba912706] | 17 | |
---|
[d180746] | 18 | #include <list> // for list |
---|
| 19 | |
---|
| 20 | class Declaration; |
---|
[288eede] | 21 | |
---|
[307a732] | 22 | namespace ControlStruct { |
---|
[046a890] | 23 | void translateThrows( std::list< Declaration *> & translationUnit ); |
---|
| 24 | /* Replaces all throw & throwResume statements with function calls. |
---|
| 25 | * These still need to be resolved, so call this before the reslover. |
---|
| 26 | */ |
---|
| 27 | |
---|
| 28 | void translateTries( std::list< Declaration *> & translationUnit ); |
---|
| 29 | /* Replaces all try blocks (and their many clauses) with function definitions and calls. |
---|
| 30 | * This uses the exception built-ins to produce typed output and should take place after |
---|
[7119daa] | 31 | * the resolver. It also produces virtual casts and should happen before they are expanded. |
---|
[046a890] | 32 | */ |
---|
[ba912706] | 33 | } |
---|
| 34 | |
---|
[6b0b624] | 35 | // Local Variables: // |
---|
| 36 | // tab-width: 4 // |
---|
| 37 | // mode: c++ // |
---|
| 38 | // compile-command: "make install" // |
---|
| 39 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.