Last change
on this file since 2345ab3 was
0bd3faf,
checked in by Andrew Beach <ajbeach@…>, 12 months ago
|
Removed forward declarations missed in the BaseSyntaxNode? removal. Removed code and modified names to support two versions of the ast.
|
-
Property mode set to
100644
|
File size:
870 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 | // AdjustExprType.hpp -- |
---|
8 | // |
---|
9 | // Author : Andrew Beach |
---|
10 | // Created On : Wed Jan 18 9:56:00 2023 |
---|
11 | // Last Modified By : Andrew Beach |
---|
12 | // Last Modified On : Wed Jan 18 9:56:00 2023 |
---|
13 | // Update Count : 0 |
---|
14 | // |
---|
15 | |
---|
16 | #pragma once |
---|
17 | |
---|
18 | namespace ast { |
---|
19 | class SymbolTable; |
---|
20 | class Type; |
---|
21 | class TypeEnvironment; |
---|
22 | } |
---|
23 | |
---|
24 | namespace ResolvExpr { |
---|
25 | |
---|
26 | /// Replaces array types with equivalent pointer, |
---|
27 | /// and function types with a pointer-to-function. |
---|
28 | const ast::Type * adjustExprType( const ast::Type * type, |
---|
29 | const ast::TypeEnvironment & env, const ast::SymbolTable & symtab ); |
---|
30 | |
---|
31 | } |
---|
32 | |
---|
33 | // Local Variables: // |
---|
34 | // tab-width: 4 // |
---|
35 | // mode: c++ // |
---|
36 | // compile-command: "make install" // |
---|
37 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.