llvm.org GIT mirror llvm / 6dc4b28
[PM] Sink the convenience typedefs after the class template they are referring to and give them nice comments. Previously, these were used, but now things use the generic form of the AnalysisManager. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225833 91177308-0d34-0410-b5e6-96231b3b80d8 Chandler Carruth 4 years ago
1 changed file(s) with 7 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
168168 SmallPtrSet PreservedPassIDs;
169169 };
170170
171 // Forward declare the analysis manager template and two typedefs used in the
172 // pass managers.
171 // Forward declare the analysis manager template.
173172 template class AnalysisManager;
174 typedef AnalysisManager ModuleAnalysisManager;
175 typedef AnalysisManager FunctionAnalysisManager;
176173
177174 /// \brief Manages a sequence of passes over units of IR.
178175 ///
565562 /// analysis result.
566563 AnalysisResultMapT AnalysisResults;
567564 };
565
566 /// \brief Convenience typedef for the Module analysis manager.
567 typedef AnalysisManager ModuleAnalysisManager;
568
569 /// \brief Convenience typedef for the Function analysis manager.
570 typedef AnalysisManager FunctionAnalysisManager;
568571
569572 /// \brief A module analysis which acts as a proxy for a function analysis
570573 /// manager.