mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-29 02:53:14 +01:00
Remove reference to llvm::cl::AllowInverse enum value which was removed in
LLVM trunk.
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user