ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change
on this file since 76c5d6e was
d3b7937,
checked in by Peter A. Buhr <pabuhr@…>, 9 years ago
|
building runtime library (first attempt)
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[51587aa] | 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 | // |
---|
[a08ba92] | 7 | // LabelTypeChecker.h -- |
---|
[51587aa] | 8 | // |
---|
[843054c2] | 9 | // Author : Rodolfo G. Esteves |
---|
[51587aa] | 10 | // Created On : Mon May 18 07:44:20 2015 |
---|
[a08ba92] | 11 | // Last Modified By : Peter A. Buhr |
---|
[d3b7937] | 12 | // Last Modified On : Mon Jan 25 21:22:30 2016 |
---|
| 13 | // Update Count : 4 |
---|
[51587aa] | 14 | // |
---|
[a08ba92] | 15 | |
---|
[51b7345] | 16 | #ifndef LABEL_TYPE_H |
---|
| 17 | #define LABEL_TYPE_H |
---|
| 18 | |
---|
| 19 | #include "SynTree/Visitor.h" |
---|
| 20 | #include "SymTab/Indexer.h" |
---|
| 21 | #include "SynTree/Statement.h" |
---|
| 22 | |
---|
[d3b7937] | 23 | #include "Common/utility.h" |
---|
[51b7345] | 24 | |
---|
| 25 | namespace ControlStruct { |
---|
[a08ba92] | 26 | class LabelTypeChecker : public Visitor { |
---|
| 27 | public: |
---|
| 28 | //LabelTypeChecker() { |
---|
| 29 | |
---|
| 30 | virtual void visit( CompoundStmt *compoundStmt ); |
---|
| 31 | virtual void visit( DeclStmt *declStmt ); |
---|
| 32 | virtual void visit( BranchStmt *branchStmt ); |
---|
| 33 | virtual void visit( UntypedExpr *untypedExpr ); |
---|
| 34 | private: |
---|
| 35 | SymTab::Indexer index; |
---|
| 36 | }; |
---|
[51b7345] | 37 | } // namespace ControlStruct |
---|
| 38 | |
---|
[d9a0e76] | 39 | #endif // LABEL_TYPE_H |
---|
[51b7345] | 40 | |
---|
[51587aa] | 41 | // Local Variables: // |
---|
| 42 | // tab-width: 4 // |
---|
| 43 | // mode: c++ // |
---|
| 44 | // compile-command: "make install" // |
---|
| 45 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.