From 565aafc997ee08803e2a6f7544f183b9e796ba94 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 6 Aug 2010 23:03:52 +0000 Subject: Some cleanup. Use a class (OptionInfo) instead of a pair of a pair and remove some default values that are not used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110485 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/PassSupport.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/llvm/PassSupport.h') diff --git a/include/llvm/PassSupport.h b/include/llvm/PassSupport.h index ee98713172..0ca955ba6b 100644 --- a/include/llvm/PassSupport.h +++ b/include/llvm/PassSupport.h @@ -53,8 +53,7 @@ public: /// PassInfo ctor - Do not call this directly, this should only be invoked /// through RegisterPass. PassInfo(const char *name, const char *arg, const void *pi, - NormalCtor_t normal = 0, - bool isCFGOnly = false, bool is_analysis = false) + NormalCtor_t normal, bool isCFGOnly, bool is_analysis) : PassName(name), PassArgument(arg), PassID(pi), IsCFGOnlyPass(isCFGOnly), IsAnalysis(is_analysis), IsAnalysisGroup(false), NormalCtor(normal) { -- cgit v1.2.3