ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumwith_gc
Last change
on this file since ce28c7b was
c1bf35f,
checked in by Rob Schluntz <rschlunt@…>, 7 years ago
|
Add findSingleExpression overload to header file
|
-
Property mode set to
100644
|
File size:
1.4 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 | // Resolver.h -- |
---|
8 | // |
---|
9 | // Author : Richard C. Bilson |
---|
10 | // Created On : Sun May 17 12:18:34 2015 |
---|
11 | // Last Modified By : Peter A. Buhr |
---|
12 | // Last Modified On : Sat Jul 22 09:36:57 2017 |
---|
13 | // Update Count : 3 |
---|
14 | // |
---|
15 | |
---|
16 | #pragma once |
---|
17 | |
---|
18 | #include <list> // for list |
---|
19 | |
---|
20 | class ConstructorInit; |
---|
21 | class Declaration; |
---|
22 | class Expression; |
---|
23 | class StmtExpr; |
---|
24 | namespace SymTab { |
---|
25 | class Indexer; |
---|
26 | } // namespace SymTab |
---|
27 | |
---|
28 | namespace ResolvExpr { |
---|
29 | /// Checks types and binds syntactic constructs to typed representations |
---|
30 | void resolve( std::list< Declaration * > translationUnit ); |
---|
31 | void resolveDecl( Declaration *, const SymTab::Indexer &indexer ); |
---|
32 | Expression *resolveInVoidContext( Expression * expr, const SymTab::Indexer &indexer ); |
---|
33 | void findVoidExpression( Expression *& untyped, const SymTab::Indexer &indexer ); |
---|
34 | void findSingleExpression( Expression *& untyped, const SymTab::Indexer &indexer ); |
---|
35 | void findSingleExpression( Expression *& untyped, Type * type, const SymTab::Indexer &indexer ); |
---|
36 | void resolveCtorInit( ConstructorInit * ctorInit, const SymTab::Indexer & indexer ); |
---|
37 | void resolveStmtExpr( StmtExpr * stmtExpr, const SymTab::Indexer & indexer ); |
---|
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.