diff gen/cl_helpers.h @ 1200:3171f67ad006

Remove reference to llvm::cl::AllowInverse enum value which was removed in LLVM trunk.
author Frits van Bommel <fvbommel wxs.nl>
date Wed, 08 Apr 2009 23:05:30 +0200
parents cc1efa23030a
children 40bd4a0d4870
line wrap: on
line diff
--- a/gen/cl_helpers.h	Wed Apr 08 21:12:08 2009 +0200
+++ b/gen/cl_helpers.h	Wed Apr 08 23:05:30 2009 +0200
@@ -17,9 +17,6 @@
     public:
         template <class Opt>
         void initialize(Opt &O) {
-            assert(!(O.getMiscFlags() & cl::AllowInverse)
-                && "FlagParser doesn't support redundant AllowInverse flag");
-            
             std::string Name = O.ArgStr;
             switches.push_back(make_pair("enable-" + Name, true));
             switches.push_back(make_pair("disable-" + Name, false));