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 8c8c2d9 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
|
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 | // LabelTypeChecker.h -- |
---|
8 | // |
---|
9 | // Author : Rodolfo G. Esteves |
---|
10 | // Created On : Mon May 18 07:44:20 2015 |
---|
11 | // Last Modified By : Peter A. Buhr |
---|
12 | // Last Modified On : Mon Jan 25 21:22:30 2016 |
---|
13 | // Update Count : 4 |
---|
14 | // |
---|
15 | |
---|
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 | |
---|
23 | #include "Common/utility.h" |
---|
24 | |
---|
25 | namespace ControlStruct { |
---|
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 | }; |
---|
37 | } // namespace ControlStruct |
---|
38 | |
---|
39 | #endif // LABEL_TYPE_H |
---|
40 | |
---|
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.