Changeset a08ba92 for translator/InitTweak/DeclarationHoister.h
- Timestamp:
- May 19, 2015, 4:58:14 PM (11 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, stuck-waitfor-destruct, with_gc
- Children:
- 843054c2
- Parents:
- 01aeade
- File:
-
- 1 edited
-
translator/InitTweak/DeclarationHoister.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
translator/InitTweak/DeclarationHoister.h
r01aeade ra08ba92 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // XXX.cc--7 // DeclarationHoister.h -- 8 8 // 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : 12 // Last Modified On : 13 // Update Count : 011 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue May 19 16:33:48 2015 13 // Update Count : 2 14 14 // 15 15 16 #include "SynTree/Visitor.h" 16 17 #include "SymTab/Indexer.h" 17 18 18 19 namespace InitTweak { 20 bool isDeclStmtP(Statement *stmt); 19 21 20 bool isDeclStmtP(Statement *stmt); 21 22 class DeclarationHoister: public Mutator { 23 public: 24 virtual CompoundStmt *mutate(CompoundStmt *compoundStmt); 25 }; 26 22 class DeclarationHoister: public Mutator { 23 public: 24 virtual CompoundStmt *mutate(CompoundStmt *compoundStmt); 25 }; 27 26 } // namespace InitTweak 28 27 29 /*30 Local Variables:31 mode: c++32 End:33 */34 28 // Local Variables: // 35 29 // tab-width: 4 //
Note:
See TracChangeset
for help on using the changeset viewer.