[LPM] Group the addPreserved template with the non-template variants,

NFC.

llvm-svn: 245324
This commit is contained in:
Chandler Carruth 2015-08-18 18:18:37 +00:00
parent 232c76213d
commit 7819a65425
1 changed files with 1 additions and 2 deletions

View File

@ -72,14 +72,13 @@ public:
Preserved.push_back(&ID);
return *this;
}
///@}
/// Add the specified Pass class to the set of analyses preserved by this pass.
template<class PassClass>
AnalysisUsage &addPreserved() {
Preserved.push_back(&PassClass::ID);
return *this;
}
///@}
/// Add the Pass with the specified argument string to the set of analyses
/// preserved by this pass. If no such Pass exists, do nothing. This can be