ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
Last change
on this file since 88a0ff6 was ee3c93d, checked in by Rob Schluntz <rschlunt@…>, 7 years ago |
|
Add support for while loops with control declarations
|
-
Property mode
set to
100644
|
|
File size:
816 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 | // ForExprMutator.h --
|
|---|
| 8 | //
|
|---|
| 9 | // Author : Rodolfo G. Esteves
|
|---|
| 10 | // Created On : Mon May 18 07:44:20 2015
|
|---|
| 11 | // Last Modified By : Peter A. Buhr
|
|---|
| 12 | // Last Modified On : Thu Aug 17 15:32:48 2017
|
|---|
| 13 | // Update Count : 5
|
|---|
| 14 | //
|
|---|
| 15 |
|
|---|
| 16 | #pragma once
|
|---|
| 17 |
|
|---|
| 18 | class IfStmt;
|
|---|
| 19 | class ForStmt;
|
|---|
| 20 | class WhileStmt;
|
|---|
| 21 | class Statement;
|
|---|
| 22 |
|
|---|
| 23 | namespace ControlStruct {
|
|---|
| 24 | class ForExprMutator {
|
|---|
| 25 | public:
|
|---|
| 26 | Statement *postmutate( IfStmt * );
|
|---|
| 27 | Statement *postmutate( ForStmt * );
|
|---|
| 28 | Statement *postmutate( WhileStmt * );
|
|---|
| 29 | };
|
|---|
| 30 | } // namespace ControlStruct
|
|---|
| 31 |
|
|---|
| 32 | // Local Variables: //
|
|---|
| 33 | // tab-width: 4 //
|
|---|
| 34 | // mode: c++ //
|
|---|
| 35 | // compile-command: "make install" //
|
|---|
| 36 | // End: //
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.