diff options
-rw-r--r-- | include/llvm/Support/PassNameParser.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/llvm/Support/PassNameParser.h b/include/llvm/Support/PassNameParser.h index 6b7a88c5b6..5fa67d362c 100644 --- a/include/llvm/Support/PassNameParser.h +++ b/include/llvm/Support/PassNameParser.h @@ -99,23 +99,6 @@ public: } }; - -//===----------------------------------------------------------------------===// -// FilteredPassNameParser class - Just like PassNameParser, but filter out -// passes that do not have a PassType that includes the flags specified as the -// template argument. -// -template<unsigned Flags> -struct FilteredPassNameParser : public PassNameParser { - - // ignorablePassImpl - Can be overriden in subclasses to refine the list of - // which passes we want to include. - // - virtual bool ignorablePassImpl(const PassInfo *P) const { - return (P->getPassType() & Flags) == 0; - } -}; - } // End llvm namespace #endif |