From: Chandler Carruth Date: Tue, 18 Aug 2015 18:18:37 +0000 (+0000) Subject: [LPM] Group the addPreserved template with the non-template variants, X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=a4d17df846a9abc1be9a73862452cf4dfcd33689 [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 --- 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