From 35a3d86cc65cf7c4c95b135a3e41a8b8f9cb18d6 Mon Sep 17 00:00:00 2001 From: Frits van Bommel Date: Wed, 8 Apr 2009 23:05:30 +0200 Subject: [PATCH] Remove reference to llvm::cl::AllowInverse enum value which was removed in LLVM trunk. --- gen/cl_helpers.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/gen/cl_helpers.h b/gen/cl_helpers.h index 747cc9a8..3f58f24b 100644 --- a/gen/cl_helpers.h +++ b/gen/cl_helpers.h @@ -17,9 +17,6 @@ namespace opts { public: template 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));