diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-06 23:03:52 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-06 23:03:52 +0000 |
commit | 565aafc997ee08803e2a6f7544f183b9e796ba94 (patch) | |
tree | 8ea8927c61eb691bb9f431f869957300391b94ff /include/llvm/PassSupport.h | |
parent | 5eb308b9448ee5b14fac26c0533eac481bc28471 (diff) | |
download | llvm-565aafc997ee08803e2a6f7544f183b9e796ba94.tar.gz llvm-565aafc997ee08803e2a6f7544f183b9e796ba94.tar.bz2 llvm-565aafc997ee08803e2a6f7544f183b9e796ba94.tar.xz |
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
Diffstat (limited to 'include/llvm/PassSupport.h')
-rw-r--r-- | include/llvm/PassSupport.h | 3 |
1 files changed, 1 insertions, 2 deletions
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) { |