ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
deferred_resn
demangler
enum
forall-pointer-decay
jacob/cs343-translation
jenkins-sandbox
new-ast
new-ast-unique-expr
new-env
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
resolv-new
with_gc
Last change
on this file since 7faab5e was 08da53d, checked in by Rob Schluntz <rschlunt@…>, 8 years ago |
Refactor findSingleExpr and remove unnecessary resolver-generated casts
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[a32b204] | 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 | //
|
---|
[db4ecc5] | 7 | // Resolver.h --
|
---|
[a32b204] | 8 | //
|
---|
| 9 | // Author : Richard C. Bilson
|
---|
| 10 | // Created On : Sun May 17 12:18:34 2015
|
---|
[6b0b624] | 11 | // Last Modified By : Peter A. Buhr
|
---|
| 12 | // Last Modified On : Sat Jul 22 09:36:57 2017
|
---|
| 13 | // Update Count : 3
|
---|
[a32b204] | 14 | //
|
---|
| 15 |
|
---|
[6b0b624] | 16 | #pragma once
|
---|
[51b73452] | 17 |
|
---|
[ea6332d] | 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
|
---|
[51b73452] | 27 |
|
---|
| 28 | namespace ResolvExpr {
|
---|
[82dd287] | 29 | /// Checks types and binds syntactic constructs to typed representations
|
---|
[a32b204] | 30 | void resolve( std::list< Declaration * > translationUnit );
|
---|
[8b11840] | 31 | void resolveDecl( Declaration *, const SymTab::Indexer &indexer );
|
---|
[08da53d] | 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 );
|
---|
[1d2b64f] | 35 | void resolveCtorInit( ConstructorInit * ctorInit, const SymTab::Indexer & indexer );
|
---|
| 36 | void resolveStmtExpr( StmtExpr * stmtExpr, const SymTab::Indexer & indexer );
|
---|
[51b73452] | 37 | } // namespace ResolvExpr
|
---|
| 38 |
|
---|
[a32b204] | 39 | // Local Variables: //
|
---|
| 40 | // tab-width: 4 //
|
---|
| 41 | // mode: c++ //
|
---|
| 42 | // compile-command: "make install" //
|
---|
| 43 | // End: //
|
---|
Note:
See
TracBrowser
for help on using the repository browser.