Skip to content
  • Chandler Carruth's avatar
    [PM] Remove the IRUnitT typedef requirement for analysis passes. · bf950c0f
    Chandler Carruth authored
    Since the analysis managers were split into explicit function and module
    analysis managers, it is now completely trivial to specify this when
    building up the concept and model types explicitly, and it is impossible
    to end up with a type error at run time. We instantiate a template when
    registering a pass that will enforce the requirement at a type-system
    level, and we produce a dynamic error on all the other query paths to
    the analysis manager if the pass in question isn't registered.
    
    llvm-svn: 195447
    bf950c0f
Loading