From a4d17df846a9abc1be9a73862452cf4dfcd33689 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Tue, 18 Aug 2015 18:18:37 +0000 Subject: [PATCH] [LPM] Group the addPreserved template with the non-template variants, NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245324 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/PassAnalysisSupport.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/llvm/PassAnalysisSupport.h b/include/llvm/PassAnalysisSupport.h index 0b318fc8fb0..d5bdba72f78 100644 --- a/include/llvm/PassAnalysisSupport.h +++ b/include/llvm/PassAnalysisSupport.h @@ -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 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 -- 2.34.1