[llvm-commits] CVS: llvm/include/llvm/Support/PassNameParser.h

Chris Lattner lattner at cs.uiuc.edu
Sun Aug 27 15:11:21 PDT 2006



Changes in directory llvm/include/llvm/Support:

PassNameParser.h updated: 1.11 -> 1.12
---
Log message:

Remove a dead class.


---
Diffs of the changes:  (+0 -17)

 PassNameParser.h |   17 -----------------
 1 files changed, 17 deletions(-)


Index: llvm/include/llvm/Support/PassNameParser.h
diff -u llvm/include/llvm/Support/PassNameParser.h:1.11 llvm/include/llvm/Support/PassNameParser.h:1.12
--- llvm/include/llvm/Support/PassNameParser.h:1.11	Thu Apr 21 15:44:59 2005
+++ llvm/include/llvm/Support/PassNameParser.h	Sun Aug 27 17:11:07 2006
@@ -99,23 +99,6 @@
   }
 };
 
-
-//===----------------------------------------------------------------------===//
-// 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






More information about the llvm-commits mailing list