ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
Last change
on this file since 75c7252 was
c1ed2ee,
checked in by Aaron Moss <a3moss@…>, 5 years ago
|
Continued resolver porting
- mostly initialization and validation
- added move() and copy() to utility.h
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[0dd3a2f] | 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 | // |
---|
[30f9072] | 7 | // FixFunction.h -- |
---|
[0dd3a2f] | 8 | // |
---|
| 9 | // Author : Richard C. Bilson |
---|
| 10 | // Created On : Sun May 17 17:02:08 2015 |
---|
| 11 | // Last Modified By : Peter A. Buhr |
---|
[6b0b624] | 12 | // Last Modified On : Sat Jul 22 09:45:55 2017 |
---|
| 13 | // Update Count : 4 |
---|
[0dd3a2f] | 14 | // |
---|
| 15 | |
---|
[6b0b624] | 16 | #pragma once |
---|
[51b7345] | 17 | |
---|
[21b7161] | 18 | #include "Common/PassVisitor.h" // for PassVisitor |
---|
| 19 | #include "SynTree/SynTree.h" // for Types |
---|
[51b7345] | 20 | |
---|
[c1ed2ee] | 21 | namespace ast { |
---|
| 22 | class DeclWithType; |
---|
| 23 | } |
---|
[4bda2cf] | 24 | |
---|
[c1ed2ee] | 25 | namespace SymTab { |
---|
| 26 | /// Replaces function and array types by equivalent pointer types. Returns true if type is |
---|
| 27 | /// void |
---|
[4bda2cf] | 28 | bool fixFunction( DeclarationWithType *& ); |
---|
[c1ed2ee] | 29 | |
---|
| 30 | /// Returns declaration with function and array types replaced by equivalent pointer types. |
---|
| 31 | /// Sets isVoid to true if type is void |
---|
| 32 | const ast::DeclWithType * fixFunction( const ast::DeclWithType * dwt, bool & isVoid ); |
---|
[51b7345] | 33 | } // namespace SymTab |
---|
| 34 | |
---|
[0dd3a2f] | 35 | // Local Variables: // |
---|
| 36 | // tab-width: 4 // |
---|
| 37 | // mode: c++ // |
---|
| 38 | // compile-command: "make install" // |
---|
| 39 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.