source: src/ControlStruct/MultiLevelExit.hpp @ be4335b

Last change on this file since be4335b was 66daee4, checked in by Peter A. Buhr <pabuhr@…>, 3 years ago

formatting

  • Property mode set to 100644
File size: 915 bytes
RevLine 
[b8ab91a]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//
[817bb3c]7// MultiLevelExit.hpp -- Replaces CFA's local control flow with C's versions.
[b8ab91a]8//
9// Author           : Andrew Beach
10// Created On       : Mon Nov  1 13:49:00 2021
[66daee4]11// Last Modified By : Peter A. Buhr
12// Last Modified On : Mon Jan 31 22:34:06 2022
13// Update Count     : 6
[b8ab91a]14//
15
16#pragma once
17
18#include <map>
19
20namespace ast {
[66daee4]21class CompoundStmt;
22class Label;
23class Stmt;
[b8ab91a]24}
25
26namespace ControlStruct {
27using LabelToStmt = std::map<ast::Label, const ast::Stmt *>;
28
[66daee4]29// Mutate a function body to handle multi-level exits.
30const ast::CompoundStmt * multiLevelExitUpdate( const ast::CompoundStmt *, const LabelToStmt & );
[b8ab91a]31}
32
33// Local Variables: //
34// tab-width: 4 //
35// mode: c++ //
36// compile-command: "make install" //
37// End: //
Note: See TracBrowser for help on using the repository browser.