ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change
on this file since d4778a6 was
d9a0e76,
checked in by Peter A. Buhr <pabuhr@…>, 10 years ago
|
remove Parser.old, add -XCFA to driver, copy ptrdiff_t from stddef.h in preclude, remove casts from initialization constants, adjust formatting
|
-
Property mode set to
100644
|
File size:
602 bytes
|
Line | |
---|
1 | #ifndef LABEL_TYPE_H |
---|
2 | #define LABEL_TYPE_H |
---|
3 | |
---|
4 | #include "SynTree/Visitor.h" |
---|
5 | #include "SymTab/Indexer.h" |
---|
6 | #include "SynTree/Statement.h" |
---|
7 | |
---|
8 | #include "utility.h" |
---|
9 | |
---|
10 | namespace ControlStruct { |
---|
11 | class LabelTypeChecker : public Visitor { |
---|
12 | public: |
---|
13 | //LabelTypeChecker() { |
---|
14 | |
---|
15 | virtual void visit( CompoundStmt *compoundStmt ); |
---|
16 | virtual void visit( DeclStmt *declStmt ); |
---|
17 | virtual void visit( BranchStmt *branchStmt ); |
---|
18 | virtual void visit( UntypedExpr *untypedExpr ); |
---|
19 | private: |
---|
20 | SymTab::Indexer index; |
---|
21 | }; |
---|
22 | } // namespace ControlStruct |
---|
23 | |
---|
24 | #endif // LABEL_TYPE_H |
---|
25 | |
---|
26 | /* |
---|
27 | Local Variables: |
---|
28 | mode: c++ |
---|
29 | End: |
---|
30 | */ |
---|
31 | |
---|
32 | |
---|
33 | |
---|
Note: See
TracBrowser
for help on using the repository browser.