search for: passmodel

Displaying 1 result from an estimated 1 matches for "passmodel".

2018 Sep 02
2
possible inconsistency in PassManagerInternal.h
...- The PassConcept abstract class has a function `run = 0;` which returns an object of type `PreservedAnalysis`. Such object is forward-declared in this header, but it is defined in PassManager.h This is the only place in the file where we reference this class. However, right after, we define the PassModel class which derives from PassConcept, and one of its template parameters is a typename `PreservedAnalysisT`. The implementation of the `run` method uses the keyword override and it returns an object of type `PreservedAnalysisT`. This should raise a warning if PreservedAnalysisT != PreservedAnalysis...