Do not crash when dealing with invoke and unwind instructions!
[oota-llvm.git] / tools / bugpoint / ListReducer.h
index 96341e8f731ac472b1c00096cd9d455890d7c33d..0ad24065cf3cf9e7fea34852e710df1aa2a97ba3 100644 (file)
@@ -6,7 +6,6 @@
 // the University of Illinois Open Source License. See LICENSE.TXT for details.
 // 
 //===----------------------------------------------------------------------===//
-// 
 //
 // This class is to be used as a base class for operations that want to zero in
 // on a subset of the input which still causes the bug we are tracking.
@@ -18,6 +17,8 @@
 
 #include <vector>
 
+namespace llvm {
+
 template<typename ElTy>
 struct ListReducer {
   enum TestResult {
@@ -110,4 +111,6 @@ struct ListReducer {
   }
 };
 
+} // End llvm namespace
+
 #endif