Index: src/AST/Pass.hpp
===================================================================
--- src/AST/Pass.hpp	(revision c408483dfd8a99c444ef5b7c839275eb9206a18d)
+++ src/AST/Pass.hpp	(revision a86b2ca618261186a814f5be37643704b95ee6f0)
@@ -8,5 +8,5 @@
 //
 // Author           : Thierry Delisle
-// Created On       : Thu May 09 15::37::05 2019
+// Created On       : Thu May 09 15:37:05 2019
 // Last Modified By :
 // Last Modified On :
@@ -84,4 +84,11 @@
 
 	virtual ~Pass() = default;
+
+	/// Construct and run a pass on a translation unit.
+	template< typename... Args >
+	static void run( std::list< ptr<Decl> > & decls, Args &&... args ) {
+		Pass<pass_t> visitor( std::forward<Args>( args )... );
+		accept_all( decls, visitor );
+	}
 
 	/// Storage for the actual pass
