Remove reference to llvm::cl::AllowInverse enum value which was removed in

LLVM trunk.
This commit is contained in:
Frits van Bommel
2009-04-08 23:05:30 +02:00
parent 2347526ca8
commit 35a3d86cc6

View File

@@ -17,9 +17,6 @@ namespace opts {
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));