source: src/ControlStruct/ExceptTranslate.hpp @ 5f210c0

Last change on this file since 5f210c0 was c92bdcc, checked in by Andrew Beach <ajbeach@…>, 6 months ago

Updated the rest of the names in src/ (except for the generated files).

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[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//
[5ee153d]7// ExceptTranslate.h -- Conversion of exception control flow structures.
[ba912706]8//
9// Author           : Andrew Beach
10// Created On       : Tus Jun 06 10:13:00 2017
[046a890]11// Last Modified By : Andrew Beach
[5ee153d]12// Last Modified On : Mon Nov  8 11:43:00 2020
13// Update Count     : 6
[ba912706]14//
15
[6b0b624]16#pragma once
[ba912706]17
[5ee153d]18namespace ast {
19        class TranslationUnit;
20}
[288eede]21
[307a732]22namespace ControlStruct {
[046a890]23
[539a8c8]24void translateThrows( ast::TranslationUnit & transUnit );
25/* Replaces all throw & throwResume statements with function calls.
26 * These still need to be resolved, so call this before the reslover.
27 */
28
29void translateTries( ast::TranslationUnit & transUnit );
30/* Replaces all try blocks (and their many clauses) with function definitions and calls.
31 * This uses the exception built-ins to produce typed output and should take place after
32 * the resolver. It also produces virtual casts and should happen before they are expanded.
33 */
34
[ba912706]35}
36
[6b0b624]37// Local Variables: //
38// tab-width: 4 //
39// mode: c++ //
40// compile-command: "make install" //
41// End: //
Note: See TracBrowser for help on using the repository browser.