source:
src/SymTab/FixFunction.hpp@
fc8ec54
Last change on this file since fc8ec54 was c92bdcc, checked in by , 17 months ago | |
---|---|
|
|
File size: 929 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 | // FixFunction.hpp -- |
8 | // |
9 | // Author : Richard C. Bilson |
10 | // Created On : Sun May 17 17:02:08 2015 |
11 | // Last Modified By : Peter A. Buhr |
12 | // Last Modified On : Tue Jul 12 14:19:00 2022 |
13 | // Update Count : 5 |
14 | // |
15 | |
16 | #pragma once |
17 | |
18 | namespace ast { |
19 | class DeclWithType; |
20 | class Type; |
21 | } |
22 | |
23 | namespace SymTab { |
24 | |
25 | /// Returns declaration with function and array types replaced by equivalent pointer types. |
26 | /// Sets isVoid to true if type is void. |
27 | const ast::DeclWithType * fixFunction( const ast::DeclWithType * dwt, bool & isVoid ); |
28 | const ast::Type * fixFunction( const ast::Type * type, bool & isVoid ); |
29 | |
30 | } // namespace SymTab |
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.