Changeset a86b2ca6 for src/AST/Pass.hpp
- Timestamp:
- Aug 5, 2020, 1:27:32 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 0019d77
- Parents:
- 3251b66
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Pass.hpp
r3251b66 ra86b2ca6 8 8 // 9 9 // Author : Thierry Delisle 10 // Created On : Thu May 09 15: :37::05 201910 // Created On : Thu May 09 15:37:05 2019 11 11 // Last Modified By : 12 12 // Last Modified On : … … 84 84 85 85 virtual ~Pass() = default; 86 87 /// Construct and run a pass on a translation unit. 88 template< typename... Args > 89 static void run( std::list< ptr<Decl> > & decls, Args &&... args ) { 90 Pass<pass_t> visitor( std::forward<Args>( args )... ); 91 accept_all( decls, visitor ); 92 } 86 93 87 94 /// Storage for the actual pass
Note: See TracChangeset
for help on using the changeset viewer.