[LPM] Group the addPreserved template with the non-template variants,
authorChandler Carruth <chandlerc@gmail.com>
Tue, 18 Aug 2015 18:18:37 +0000 (18:18 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 18 Aug 2015 18:18:37 +0000 (18:18 +0000)
NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245324 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/PassAnalysisSupport.h

index 0b318fc..d5bdba7 100644 (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