ADT
ast-experimental
Last change
on this file since 9749d2fa was 11df881, checked in by Andrew Beach <ajbeach@…>, 3 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:
1.3 KB
|
Rev | Line | |
---|
[64adb03] | 1 | //
|
---|
| 2 | // Cforall Version 1.0.0 Copyright (C) 2016 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 | //
|
---|
[2cf3b87] | 7 | // Keywords.h -- Implement concurrency constructs from their keywords.
|
---|
[64adb03] | 8 | //
|
---|
| 9 | // Author : Thierry Delisle
|
---|
| 10 | // Created On : Fri Mar 10 15:16:42 2017
|
---|
| 11 | // Last Modified By :
|
---|
| 12 | // Last Modified On :
|
---|
[6b0b624] | 13 | // Update Count : 1
|
---|
[64adb03] | 14 | //
|
---|
| 15 |
|
---|
[6b0b624] | 16 | #pragma once
|
---|
[64adb03] | 17 |
|
---|
[bf2438c] | 18 | #include <list> // for list
|
---|
[64adb03] | 19 |
|
---|
[bf2438c] | 20 | class Declaration;
|
---|
[2cf3b87] | 21 | namespace ast {
|
---|
| 22 | class TranslationUnit;
|
---|
| 23 | }
|
---|
[64adb03] | 24 |
|
---|
| 25 | namespace Concurrency {
|
---|
| 26 | void applyKeywords( std::list< Declaration * > & translationUnit );
|
---|
[bcda04c] | 27 | void implementMutexFuncs( std::list< Declaration * > & translationUnit );
|
---|
| 28 | void implementThreadStarter( std::list< Declaration * > & translationUnit );
|
---|
[2cf3b87] | 29 |
|
---|
[11df881] | 30 | /// Implement the sue-like keywords and the suspend keyword. Pre-Autogen
|
---|
[2cf3b87] | 31 | void implementKeywords( ast::TranslationUnit & translationUnit );
|
---|
[11df881] | 32 | /// Implement the mutex parameters and mutex statement. Post-Autogen
|
---|
[2cf3b87] | 33 | void implementMutex( ast::TranslationUnit & translationUnit );
|
---|
[11df881] | 34 | /// Add the thread starter code to constructors. Post-Autogen
|
---|
[2cf3b87] | 35 | void implementThreadStarter( ast::TranslationUnit & translationUnit );
|
---|
[64adb03] | 36 | };
|
---|
| 37 |
|
---|
[6b0b624] | 38 | // Local Variables: //
|
---|
| 39 | // tab-width: 4 //
|
---|
| 40 | // mode: c++ //
|
---|
| 41 | // compile-command: "make install" //
|
---|
| 42 | // End: //
|
---|
Note:
See
TracBrowser
for help on using the repository browser.