diff options
author | Chris Lattner <sabre@nondot.org> | 2002-11-19 17:10:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-11-19 17:10:14 +0000 |
commit | af43b64d12b089b41ca691e2a30c0bde2bbab97e (patch) | |
tree | 3e77e67d9912bbebd22532b26ff1ad07732907ef | |
parent | 2181c0112ff4a71da5e8a18f70e426508caf0be1 (diff) | |
download | external_llvm-af43b64d12b089b41ca691e2a30c0bde2bbab97e.zip external_llvm-af43b64d12b089b41ca691e2a30c0bde2bbab97e.tar.gz external_llvm-af43b64d12b089b41ca691e2a30c0bde2bbab97e.tar.bz2 |
Ignore options that are ""
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4757 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Support/PassNameParser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/PassNameParser.h b/include/llvm/Support/PassNameParser.h index 81242c3..43561ec 100644 --- a/include/llvm/Support/PassNameParser.h +++ b/include/llvm/Support/PassNameParser.h @@ -46,7 +46,7 @@ public: inline bool ignorablePass(const PassInfo *P) const { // Ignore non-selectable and non-constructible passes! Ignore // non-optimizations. - return P->getPassArgument() == 0 || + return P->getPassArgument() == 0 || *P->getPassArgument() == 0 || (P->getNormalCtor() == 0 && P->getDataCtor() == 0 && P->getTargetCtor() == 0) || ignorablePassImpl(P); |