Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/PassVisitor.h

    r02fdb8e r675716e  
    44
    55#include <stack>
    6 #include <type_traits>
    76
    87#include "Common/Stats.h"
     
    302301
    303302
    304         auto                                    get_env_ptr    () -> decltype(env_impl( pass, 0)) { return env_impl( pass, 0); }
     303        TypeSubstitution **             get_env_ptr    () { return env_impl             ( pass, 0); }
    305304        std::list< Statement* > *       get_beforeStmts() { return stmtsToAddBefore_impl( pass, 0); }
    306305        std::list< Statement* > *       get_afterStmts () { return stmtsToAddAfter_impl ( pass, 0); }
     
    349348};
    350349
    351 class WithConstTypeSubstitution {
    352 protected:
    353         WithConstTypeSubstitution() = default;
    354         ~WithConstTypeSubstitution() = default;
    355 
    356 public:
    357         const TypeSubstitution * env = nullptr;
    358 };
    359 
    360350class WithStmtsToAdd {
    361351protected:
Note: See TracChangeset for help on using the changeset viewer.