source: src/ControlStruct/HoistControlDecls.hpp @ 703885e

Last change on this file since 703885e was 11df881, checked in by Andrew Beach <ajbeach@…>, 2 years ago

Updated documentation on pre-resolver passes, moving code to headers instead of uses. Note that some comments were just copied over, I don't know if they are accurate.

  • Property mode set to 100644
File size: 872 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// HoistControlDecls.hpp -- Desugar Cforall control structures.
8//
9// Author           : Andrew Beach
10// Created On       : Fri Dec  3 15:31:00 2021
11// Last Modified By : Peter A. Buhr
12// Last Modified On : Mon Jan 31 22:25:07 2022
13// Update Count     : 3
14//
15
16#pragma once
17
18namespace ast {
19class TranslationUnit;
20}
21
22namespace ControlStruct {
23/// Hoist declarations out of control flow statements into compound statement.
24/// Must happen before auto-gen routines are added.
25void hoistControlDecls( ast::TranslationUnit & translationUnit );
26} // namespace ControlStruct
27
28// Local Variables: //
29// tab-width: 4 //
30// mode: c++ //
31// compile-command: "make install" //
32// End: //
Note: See TracBrowser for help on using the repository browser.