source: src/ResolvExpr/ResolveTypeof.h @ c1e66d9

Last change on this file since c1e66d9 was c1e66d9, checked in by JiadaL <j82liang@…>, 12 months ago

Fix designator value in enumerated array and implemented enumerated array with inlined enume declaration

  • Property mode set to 100644
File size: 1.3 KB
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// ResolveTypeof.h --
8//
9// Author           : Richard C. Bilson
10// Created On       : Sun May 17 12:14:53 2015
11// Last Modified By : Andrew Beach
12// Last Modified On : Wed Mar 16 11:33:00 2022
13// Update Count     : 4
14//
15
16#pragma once
17
18class Type;
19class ListInit;
20namespace SymTab {
21class Indexer;
22}  // namespace SymTab
23namespace ast {
24        class Type;
25        class ListInit;
26        class ObjectDecl;
27}
28
29namespace ResolvExpr {
30        struct ResolveContext;
31
32        Type *resolveTypeof( Type *, const SymTab::Indexer &indexer );
33        const ast::Type * resolveTypeof( const ast::Type *, const ResolveContext & );
34        const ast::Type * fixArrayType( const ast::Type *, const ResolveContext &, const ast::ListInit * );
35        const ast::Type * fixEnumeratedArray( const ast::Type *, const ResolveContext & );
36        const ast::ObjectDecl * fixObjectType( const ast::ObjectDecl * decl , const ResolveContext & );
37        const ast::ObjectDecl * fixObjectInit( const ast::ObjectDecl * decl , const ResolveContext & );
38} // namespace ResolvExpr
39
40// Local Variables: //
41// tab-width: 4 //
42// mode: c++ //
43// compile-command: "make install" //
44// End: //
Note: See TracBrowser for help on using the repository browser.